title: can't use non-numeric string as operand of "&" in TCL
body: <pre><code>if {   ($name1 == "john")   &amp;   ($name2 == "smith")  } { puts "hello world" }
  
  i got  error:can't use non-numeric string as operand of "&amp;"
  </code></pre>
  
  <p>I have try :</p>
  
  <pre><code>if {   $name1 == "john"   &amp;   $name2 == "smith"  } { puts "hello world" }
  if {   {$name1 == "john"}   &amp;   {$name2 == "smith"}  } { puts "hello world" }
  </code></pre>
  
  <p>what i suppose to do? </p>