double dollar sign ?

Philip Greenspun's Homepage : Philip Greenspun's Homepage Discussion Forums : 6916 : One Thread
Notify me of new responses
I'm wondering if i can get the value of value of a variable ?
(i.e. $$<variable_name). Unfortunately, double dollar sign won't
work in tcl . Is there any other way to achieve the task ?

-- Joyce Ng, October 28, 1999


Use [set $variable_name]. "set" just returns the value of a variable, so $variable_name is equivalent to [set variable_name].

-- Eve Andersson, October 28, 1999