Fossil SCM

Minor doc typo fix.

stephan 2021-07-01 03:26 trunk
Commit 12b5eed944b70f7c3a8009a065509c33bfbaf70d98883356c6e6d3277c0f7100
1 file changed +1 -1
+1 -1
--- www/th1.md
+++ www/th1.md
@@ -64,11 +64,11 @@
6464
The example above is a single command. The first token, and the name
6565
of the command, is `if`.
6666
The second token is `$current eq "dev"` - an expression. (The outer {...}
6767
are removed from each token by the command parser.) The third token
6868
is the `puts "hello"`, with its whitespace and newlines. The fourth token
69
-is `else"` And the fifth and last token is `puts "world"`.
69
+is `else` and the fifth and last token is `puts "world"`.
7070
7171
The `if` command evaluates its first argument (the second token)
7272
as an expression, and if that expression is true, evaluates its
7373
second argument (the third token) as a TH1 script.
7474
If the expression is false and the third argument is `else`, then
7575
--- www/th1.md
+++ www/th1.md
@@ -64,11 +64,11 @@
64 The example above is a single command. The first token, and the name
65 of the command, is `if`.
66 The second token is `$current eq "dev"` - an expression. (The outer {...}
67 are removed from each token by the command parser.) The third token
68 is the `puts "hello"`, with its whitespace and newlines. The fourth token
69 is `else"` And the fifth and last token is `puts "world"`.
70
71 The `if` command evaluates its first argument (the second token)
72 as an expression, and if that expression is true, evaluates its
73 second argument (the third token) as a TH1 script.
74 If the expression is false and the third argument is `else`, then
75
--- www/th1.md
+++ www/th1.md
@@ -64,11 +64,11 @@
64 The example above is a single command. The first token, and the name
65 of the command, is `if`.
66 The second token is `$current eq "dev"` - an expression. (The outer {...}
67 are removed from each token by the command parser.) The third token
68 is the `puts "hello"`, with its whitespace and newlines. The fourth token
69 is `else` and the fifth and last token is `puts "world"`.
70
71 The `if` command evaluates its first argument (the second token)
72 as an expression, and if that expression is true, evaluates its
73 second argument (the third token) as a TH1 script.
74 If the expression is false and the third argument is `else`, then
75

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button