Fossil

Check-in [12b5eed944]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Minor doc typo fix.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 12b5eed944b70f7c3a8009a065509c33bfbaf70d98883356c6e6d3277c0f7100
User & Date: stephan 2021-07-01 03:26:39.892
Context
2021-07-01
13:58
Add the --fossilcmd option to "fossil ui". Carry the --jsmode and --create options through to the remote fossil. ... (check-in: c359589ef6 user: drh tags: trunk)
04:03
Proposed fix for out-of-order output when calling th1 render function from a th-doc page body. DO NOT MERGE: this is being checked in so that it can be deployed on a test server. ... (check-in: a381a8102b user: stephan tags: th1-recursive-render)
03:26
Minor doc typo fix. ... (check-in: 12b5eed944 user: stephan tags: trunk)
2021-06-30
22:58
Replaced part of [3946ff81] which was inadvertently removed via [612f6cee] (parallel edits). Removed an unused var. ... (check-in: 4f095cdba0 user: stephan tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to www/th1.md.
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
        }

The example above is a single command.  The first token, and the name
of the command, is `if`.
The second token is `$current eq "dev"` - an expression.  (The outer {...}
are removed from each token by the command parser.)  The third token
is the `puts "hello"`, with its whitespace and newlines.  The fourth token
is `else"`  And the fifth and last token is `puts "world"`.

The `if` command evaluates its first argument (the second token)
as an expression, and if that expression is true, evaluates its
second argument (the third token) as a TH1 script.
If the expression is false and the third argument is `else`, then
the fourth argument is evaluated as a TH1 expression.








|







62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
        }

The example above is a single command.  The first token, and the name
of the command, is `if`.
The second token is `$current eq "dev"` - an expression.  (The outer {...}
are removed from each token by the command parser.)  The third token
is the `puts "hello"`, with its whitespace and newlines.  The fourth token
is `else` and the fifth and last token is `puts "world"`.

The `if` command evaluates its first argument (the second token)
as an expression, and if that expression is true, evaluates its
second argument (the third token) as a TH1 script.
If the expression is false and the third argument is `else`, then
the fourth argument is evaluated as a TH1 expression.