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
junk by bcharder
27 days ago
tcl by egavilan
36 days ago
tcl by Stu
38 days ago
tcl by Stu
38 days ago
tcl by oldlaptop
71 days ago
tcl by oldlaptop
71 days ago
tcl by Molnija Bjornsson
76 days ago
tcl by Molnija Bjornsson
76 days ago
tcl by zmoment
76 days ago
tcl by zmoment
76 days ago
Submit
New paste
Documentation
From Jabber