Hi,
suppuse i have some varialbes: foo, bar, aaa.
each varialbe has a value.
and i send to a proc the var name as a string.
how can i get the var value?
for example:
proc {var_name} {
}
i would like to be able to get the value of the variable.
if i send "foo"
i want to see the value of foo ($foo).
i tried: $$var_name, $(var_name), $"$var_name"
but nothing worked...
thanks.
suppuse i have some varialbes: foo, bar, aaa.
each varialbe has a value.
and i send to a proc the var name as a string.
how can i get the var value?
for example:
proc {var_name} {
}
i would like to be able to get the value of the variable.
if i send "foo"
i want to see the value of foo ($foo).
i tried: $$var_name, $(var_name), $"$var_name"
but nothing worked...
thanks.