Forum Discussion
What_Lies_Bene1
Apr 19, 2013Cirrostratus
Here's an example of checking that a variable exists;
if { [info exists lookup] and $lookup == 1 } { ...
Note no $ symbol is used for the variable name with info as you are not referencing the variable value