aboutsummaryrefslogtreecommitdiff
path: root/jim_tcl.txt
diff options
context:
space:
mode:
Diffstat (limited to 'jim_tcl.txt')
-rw-r--r--jim_tcl.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/jim_tcl.txt b/jim_tcl.txt
index 328aaab..b76f9ab 100644
--- a/jim_tcl.txt
+++ b/jim_tcl.txt
@@ -56,6 +56,8 @@ Changes since 0.80
~~~~~~~~~~~~~~~~~~
1. TIP 582, comments allowed in expressions
2. Indexes may contain any number of +n, -n
+3. Many commands now accept integer expressions rather than simple integers:
+ `loop`, `range`, `incr`, `string repeat`, `lrepeat`, `pack`, `unpack`, `rand`
Changes between 0.79 and 0.80
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -2771,7 +2773,7 @@ Increment the value stored in the variable whose name is +'varName'+.
The value of the variable must be integral.
If +'increment'+ is supplied then its value (which must be an
-integer) is added to the value of variable +'varName'+; otherwise
+integer expression) is added to the value of variable +'varName'+; otherwise
1 is added to +'varName'+.
The new value is stored as a decimal string in variable +'varName'+
@@ -3070,6 +3072,8 @@ If +'incr'+ is not specified, 1 is used.
Note that setting the loop variable inside the loop does not
affect the loop count.
+Integer parameters may be any integer expression.
+
lindex
~~~~~~
+*lindex* 'list ?index ...?'+
@@ -3594,6 +3598,8 @@ and ranging up to but not including +'end'+ in steps of +'step'+ defaults to 1).
7 5
----
+Integer parameters may be any integer expression.
+
read
~~~~
+*read* ?*-nonewline*? 'fileId'+