title: Dynamic variable naming in Mathematica
body: <p>I have looked around for a while and did not seem to find an 'elegant' solution to my problem, hopefully someone can provide some help.</p>
  
  <p>Very briefly my problem is: I would like to be able to name multiple variables with only difference an 'index' number. These numbers are however not continuous.</p>
  
  <p>Roughly, I am trying to attempt something as follows:</p>
  
  <pre><code>fileNumbers={332,333,337,345,346};
  int i=0;
  Do{
  i = current_list_item;
  fileNumRi = Import[...];
  slopeRi = fileNumR[[2]];
  ... etc ...
  }While(inside the list)
  </code></pre>
  
  <p>I would then end up with the variables fileNumR332, fileNumR333, etc...</p>
  
  <p>Currently my only solution is a lot of copy pasting, but this is getting very tedious and generates too many chances for a mistake via typo.</p>
  
  <p>Many thanks for any suggestions!</p>
  
  <p>Ronan</p>