From: Jannis <jan...@kr...> - 2014-03-25 21:17:12
|
Am 25.03.2014 13:18, schrieb zeynab mohamad hoseyni: > Dear All, > > I'm not expert with tcl scripting and I faced a problem with > defining/referring to variables composed of a string and > another variable (like aaa$i as in the following example) inside the loop. > I have a loop like this: > for {set i 1} {$i <= 5} {incr i} { > set aaa$i 1 > set d [$aaa$i] > } Does set d [$aaa$(i)] work? Maybe http://wiki.tcl.tk/1368 can help you Did you try on the other Tcl mailing list? The windows-specific one is very low traffic. Best regards, Jannis |