%set foo 1
1
%puts {$foo}
$foo
%if {1} {puts $foo}
1
in other words, why is $ inside {} sometimes interpreted and sometimes
literal?
Thank you,
Mark
Bruce
Yes. When there is a condition (if, for, while, etc.) some arguments are
passed to the expr command, which evaluates them...
George