title: Using backslash-newline sequence in Tcl
body: <p>In Tcl, we are using the backslash for escaping special characters as well as for spreading long commands across multiple lines.</p>
  
  <p>For example, a typical <code>if</code> loop can be written as </p>
  
  <pre><code>set some_Variable_here  1
  if { $some_Variable_here == 1 } { 
      puts "it is equal to 1"
  } else { 
      puts "it is not equal to 1"
  }
  </code></pre>
  
  <p>With the help of backslash, it can be written as follows too</p>
  
  <pre><code>set some_Variable_here  1
  if { $some_Variable_here == 1 } \
  { 
      puts "it is equal to 1"
  } \
  else { 
      puts "it is not equal to 1"
  }
  </code></pre>
  
  <p>So, with backslash we can make the statements to be treated as if like they are in the same line. </p>
  
  <p>Lets consider the <code>set</code> statement</p>
  
  <p>I can write something like as below </p>
  
  <pre><code>set x Albert\ Einstein;# This works
  puts $x
  
  #This one is not working
  set y Albert\
  Einstein
  </code></pre>
  
  <p>If I try with double quotes or braces, then the above one will work.  So, is it possible to escape the newline with backslashes without double quotes or braces? </p>