upvar and trace ...
Posted to
tcl
by colin at Wed Oct 23 20:22:41 GMT 2013
view raw
trace
add
variable
A {write
unset
array
unset
} [
list
::apply [
list
{args} {
puts
"Trace: (
$args
)"
}]]
set
A(a) 1
upvar
#0 A(a) XA
set
XA 2
puts
$A(a)
Recent Posts
tcl by sebres
11 hours ago
tcl by iobates
17 days ago
tcl by iobates
17 days ago
tcl by iobates
17 days ago
tcl by FLORENTIS
21 days ago
tcl by Florentis
21 days ago
tcl by schelte
26 days ago
tcl by iobates
26 days ago
tcl by cgm
27 days ago
tcl by iobates
32 days ago
Submit
New paste
Documentation
From Jabber