title: how to call a tcl file from another tcl file
body: <p>i need to call a tcl file which hold the code for capturing image from another tcl file.</p>
  
  <p>for example i  my image.tcl file code is as follow :</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>proc image {}  { 
  
  set time [clock format [clock seconds] -format %Y%m%d_%H%M%S]
     
  exec ffmpeg -f dshow -s 1280x720 -i "video=Integrated Webcam" -benchmark c:/test/sample_$time.jpg
   
  }
  image</code></pre>
  </div>
  </div>
  </p>
  
  <p>so, i want to call this image.tcl file from another tcl file called main.tcl,so the code for main.tcl can be as follow:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>proc a {}  { 
  
  "c:/test/image.tcl"
  
  "c:/test/video.tcl" 
  
  "c:/test/live.tcl"
   
  }
  a</code></pre>
  </div>
  </div>
  </p>
  
  <p>the above tcl script should run one after another when i call main.tcl</p>
  
  <p>any solution for this. add the code as answer. thanks.</p>