From: Oleksiy B. <ole...@gm...> - 2016-12-06 11:08:55
|
Dear all, I have experienced the following problem: Let we have several variables: set a 1 set b 2 set c 3 and then we want to append these variables to a list: foreach nm {a b c} { lappend dummy $nm } But it fails to do so and just put strings "a" ,"b" and "c" to the list rather than their values. I should very much appreciate for a suggestion on how to put values of variables using "foreach" command. |