title: Add 1D array to existing 2D array
body: <p>I want to merge 1D arrays. How to change below AutoIt script to access elements as a newly generated 2D array? Test script is :</p>
  
  <pre><code>#Include &lt;Array.au3&gt;
  
  Local $_arr1=["name1","addr1","phone1"]
  Local $_arr2=["name2","arr2","phone2"]
  _make2darray($_arr1,$_arr2)
  
  Func _make2darray($_arr1,$_arr2)
      Local $_2darray=[$_arr1,$_arr2]
      _ArrayDisplay($_2darray)
  
      _ArrayDisplay($_2darray[0])
      _ArrayDisplay($_2darray[1])
  
      ConsoleWrite($_2darray[0][0])
  EndFunc
  </code></pre>
  
  <p><code>$_2darray</code> output is:</p>
  
  <pre><code>Row | Col 0
  [0] |{Array}
  [1] |{Array}
  </code></pre>
  
  <p><code>$_2darray[0]</code> output is:</p>
  
  <pre><code>Row |Col 0
  [0] |name1
  [1] |addr1
  [2] |phone1
  </code></pre>
  
  <p><code>$_2darray[1]</code> output is:</p>
  
  <pre><code>Row |Col 0
  [0] |name2
  [1] |arr2
  [2] |phone2
  </code></pre>
  
  <p>But an error occurs accessing the 2D array:</p>
  
  <pre><code>ConsoleWrite($_2darray[0][0])
  ConsoleWrite(^ ERROR
  Exit code: 1    Time: 239.1
  </code></pre>
  
  <p>How can I fix this?</p>