aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorprpr19xx <unknown>2024-02-02 11:27:56 +0000
committerSteve Bennett <steveb@workware.net.au>2024-02-03 17:35:05 +1000
commit50e3667abf9fe4c9ecafb96553deaee15de37a03 (patch)
treed103ba99b1c893c54b7646f5794130a5e08809dc
parent172b5c42010d329e84e498e9347c7f09c9b923e2 (diff)
downloadjimtcl-50e3667abf9fe4c9ecafb96553deaee15de37a03.zip
jimtcl-50e3667abf9fe4c9ecafb96553deaee15de37a03.tar.gz
jimtcl-50e3667abf9fe4c9ecafb96553deaee15de37a03.tar.bz2
Fix typos. relating to 172b5c4
-rw-r--r--jim_tcl.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/jim_tcl.txt b/jim_tcl.txt
index 2c5409e..a92ba9f 100644
--- a/jim_tcl.txt
+++ b/jim_tcl.txt
@@ -2489,11 +2489,11 @@ The following two are identical.
set x $(3 * 2 + 1)
----
-However note that the expr shorthand syntax may not be nested in an expression.
+However, note that the expr shorthand syntax may not be nested in an expression.
This is to prevent the common mistake of writing:
----
- if {$(1 + 2) == 3) {
+ if {$(1 + 2) == 3} {
...
}
----
@@ -2501,7 +2501,7 @@ This is to prevent the common mistake of writing:
rather than:
----
- if {(1 + 2) == 3) {
+ if {(1 + 2) == 3} {
...
}
----