Forum Discussion
Kevin_Stewart
Jul 05, 2014Employee
apparently the
$varname
syntax is not necessary here ?
Yes it is required.
set var1 [expr $var2 && !$var3]
apparently the
[expr]
evaluation is not necessary inside an if {}
construct ?
It's possible that you can get away with not using expr in some conditions, but it's semantically correct to use expr inside the if clause.