Commit 6fd2ff92 authored by Steve Bennett's avatar Steve Bennett
Browse files

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: default avatarSteve Bennett <steveb@workware.net.au>
parent c33f2874
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment