title: Groovy 2d arrays
body: <p>I have 3 arrays, <code>l1[,,,,], l2[,,,,] and l3[,,,,]</code>. Each of which has 5 characters in it.</p>
  
  <pre><code>e.g. l1["A","B","C","D","E"]
  </code></pre>
  
  <p>The 2d array is made up of these</p>
  
  <pre><code>screen = [l1[],l2[],l3[]]
  </code></pre>
  
  <p>so it will look as so:</p>
  
  <pre><code>screen = [[,,,,],[,,,,],[,,,,]]
  </code></pre>
  
  <p>How can I iterate through this array?</p>
  
  <p>do I call <code>screen[5]</code>? or <code>screen[l1[5]]</code>?</p>
  
  <p>can I:</p>
  
  <pre><code>for (i in 1..15){
  
   println screen[i]
  }
  </code></pre>
  
  <p>please help!!!</p>
  
  <p>How can I iterate in the array and call different parts, e.g. the <code>1st element</code> of each sub array?</p>
  
  <p>Thanks</p>