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 oldlaptop
1 days ago
tcl by apn
3 days ago
tcl by rmax
6 days ago
tcl by kevin_walzer
10 days ago
tcl by Bradipo
25 days ago
tcl by Stu
46 days ago
tcl by rhobart
60 days ago
tcl by stevel
64 days ago
tcl by dandyn
72 days ago
tcl by dandyn
72 days ago
Submit
New paste
Documentation
From Jabber