title: Running multiple files from with Scilab program
body: <p>I'm new to Scilab. I have to run the same program with a dozen different input files. Currently I simply uncomment the line and then rerun the program, and change the output file to a new name</p>
  <pre><code>// Input data file
  data_file = 'data1.txt';
  //data_file = 'data2.txt';
  //data_file = 'data3.txt';
  //data_file = 'data4.txt';
  //data_file = 'data5.txt';
  //data_file = 'data6.txt';
  </code></pre>
  <p>etc. another 6 lines
  </p>
  <pre><code>// Output data file name
  output_data = '/output_files/data1.csv';
  </code></pre>
  <p>Is there a way to read in each file (data1.txt, data2.txt...) execute the body of the program and then output a new output file  (data1.csv, data2.csv ...) instead of what I'm doing now, which is running the program and then editing it to use the next file and run again?</p>