Commit 085bb57e 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 ad720049
Pipeline #922 failed with stages
in 0 seconds
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