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>
parent
c33f2874
Please register or sign in to comment