Nostradamus
Technical User
I want to insert a variable in a set line.
for instance if a have a variable containing usernames $username and a want to set a new variable by inserting the this variable.
set x {/usr/home directories/$username}
When I try this it simply writes it as /usr/home/$username instead of inserting the value of the variable.
Hope you understand what I mean.
how do I do this using tcl?
/Sören
for instance if a have a variable containing usernames $username and a want to set a new variable by inserting the this variable.
set x {/usr/home directories/$username}
When I try this it simply writes it as /usr/home/$username instead of inserting the value of the variable.
Hope you understand what I mean.
how do I do this using tcl?
/Sören