Hello,
I have a simple tcl question.
I have a variable name which has the value of another variable in it. How do I reference the value of this variable?
eg
set a 3
set b_$a 5
How do I reference the value of b_$a?
If I use $b_$a, it does not work. I have tried other things like using ${b_$a} etc, but to no avail.
Any help is appreciated.
I have a simple tcl question.
I have a variable name which has the value of another variable in it. How do I reference the value of this variable?
eg
set a 3
set b_$a 5
How do I reference the value of b_$a?
If I use $b_$a, it does not work. I have tried other things like using ${b_$a} etc, but to no avail.
Any help is appreciated.