Var resolving 8.6.8 version 9.0
Posted to
tcl
by de at Sat Apr 07 00:08:56 GMT 2018
view raw
proc
mycmd {args} {
puts
"mycmd:
$args
"
}
set
cmd mycmd
namespace
eval foo {
$cmd
bar bar
}
# With 8.6.8:
# mycmd: bar bar
#
# With 9.0 (error):
# can't read "cmd": no such variable
Recent Posts
tcl by FLORENTIS
15 hours ago
tcl by Florentis
16 hours ago
tcl by schelte
6 days ago
tcl by iobates
6 days ago
tcl by cgm
7 days ago
tcl by iobates
11 days ago
tcl by FM
15 days ago
tcl by FM
15 days ago
tcl by FM
15 days ago
tcl by FM
15 days ago
Submit
New paste
Documentation
From Jabber