Thanks ovey and marsd! Both solutions worked, but ovey's was exactly what I needed. Being new to TCL I forget that the "set" command also can be used to return a value rather than just for defining a variable. Thanks again!
Brian
I'm new to TCL and have been trying like crazy to output the value of a certain index in a defined array. The trick is that the array name changes. I have several arrays, named STATS0, STATS1, STATS2,...STATx..and so on. I thought I could just set up a loop to increment the name (i.e STATS$x)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.