title: Assigning value of a variable to another variable in TCL
body: <p>I have this snippet in my script:</p>
  
  <p><code>set line [gets stdin]</code></p>
  
  <p><code>set $line1 $line</code></p>
  
  <p>Is it wrong?
  I basically want to copy the value of variable <code>line</code> to <code>line1</code>. It gives me error:</p>
  
  <pre><code>can't read "line1": no such variable
  while executing
  "set $line1 $line"
  </code></pre>