i have some variables :
var1, var2, var3, var4, var5, var6
and i want to "puts" all of this variables in "for" loop:
for {set i 1} {$i<=6} {incr i} {
?puts $var$i
?puts $[var$i]
?puts $"var$i"
}
how can i do that?
i just don't know how to make a new window with entry widgets and ok cancel buttons, and how to get variables to the parent window. i have to make a new tcl file and use exec function ?
i'm beginer in tcl and i have a data in format like this:
"symbol",0.00,"12/12/2006","2:03pm",0.00,0.00,0.00,0.00,0.00
so it goes like this:
"string",real,"string","string",real,real,real,real,integer
i want to get this data to nine variables. i'm tryn' to do it by command scan but this is...
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.