diff options
author | Steve Bennett <steveb@workware.net.au> | 2023-06-28 11:18:10 +1000 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2023-07-04 10:14:40 +1000 |
commit | 6fd2ff925d636fca8aaf5f8cd3beddfe95475b82 (patch) | |
tree | 3fce94143c663ca4f0ef05cff249670f29ed1a92 /jim-tty.c | |
parent | c33f287435a41fa94aa494c315ecdb628322f72a (diff) | |
download | jimtcl-6fd2ff925d636fca8aaf5f8cd3beddfe95475b82.zip jimtcl-6fd2ff925d636fca8aaf5f8cd3beddfe95475b82.tar.gz jimtcl-6fd2ff925d636fca8aaf5f8cd3beddfe95475b82.tar.bz2 |
core: add support for proc statics by reference
set a 5
proc b {} {&a} {
incr a
}
b
Now a is 6 because b captured a by reference instead of by value
Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'jim-tty.c')
0 files changed, 0 insertions, 0 deletions