title: Passing arguments in the command line in TCL
body: <p>From the <a href="http://www.tcl.tk/faq/tclwin.htm#sec-4-3" rel="nofollow">Tcl FAQ for Windows</a>:</p>
  
  <blockquote>
    <p>To run a console script, invoke the tclsh.exe program, passing it the path to the script file. Any additional arguments on the command line are passed as a list to the script in the argv global variable</p>
  
  <pre><code># File printargs.tcl
  foreach arg $::argv {puts $arg} 
  </code></pre>
    
    <p>We can invoke this script from the command line:</p>
  
  <pre><code>c:\&gt; tclsh printargs.tcl first "second arg"
  first
  second arg
  c:\&gt;
  </code></pre>
  </blockquote>
  
  <p>I am able to do this.<br>
  But how is this working?<br>
  How the arguments are going?</p>
  
  <p><strong>note</strong>: I am a beginner.Sorry If I don't reach the standards.</p>