aboutsummaryrefslogtreecommitdiff
path: root/jim_tcl.txt
diff options
context:
space:
mode:
authorD. Bohdan <dbohdan@dbohdan.com>2020-09-07 09:37:32 +0000
committerSteve Bennett <steveb@workware.net.au>2020-09-23 10:39:12 +1000
commit18e79de7ea93b1a99fbd0ca96cb837623bb699fa (patch)
tree8bcda7f1d764faf960d35d820cf6b5ef56b7bdc8 /jim_tcl.txt
parentecfb322f84ee7af404a43846c655e7145091ecfc (diff)
downloadjimtcl-18e79de7ea93b1a99fbd0ca96cb837623bb699fa.zip
jimtcl-18e79de7ea93b1a99fbd0ca96cb837623bb699fa.tar.gz
jimtcl-18e79de7ea93b1a99fbd0ca96cb837623bb699fa.tar.bz2
docs: document operators lt, gt, le, ge
Diffstat (limited to 'jim_tcl.txt')
-rw-r--r--jim_tcl.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/jim_tcl.txt b/jim_tcl.txt
index 21aa066..658d2b7 100644
--- a/jim_tcl.txt
+++ b/jim_tcl.txt
@@ -827,6 +827,12 @@ of precedence:
These operators may be applied to strings as well as numeric operands,
in which case string comparison is used.
++lt gt le ge+::
+ Boolean less, greater, less than or equal, and greater than or equal.
+ Each operator produces 1 if the condition is true, 0 otherwise.
+ These operators differ from the above in that they use string comparison
+ for all operands, including numeric.
+
+== !=+::
Boolean equal and not equal. Each operator produces a zero/one result.
Valid for all operand types. *Note* that values will be converted to integers