Multidimensional Array is Dim $aData[x,y]

You might find using the CSV function and an "Array of Arrays" easier to use. For example:
 Code:
; Load CSV file into an array
$aFile = FileIO('.\file.csv', 'R')
; convert array of CSV Strings to Array of Arrays of fields
For EP = 0 to UBound($aFile)
  $aFile[$P] = CSV($aFile[$P]
Next
With an array of arrays in this manner, you can reference it via $aFile[$Record][$Field]. Note the double set of element identifiers.

The third field of the 27th record of the file can be accessed directly as $aFile[26][2] (recall that arrays are 0-based, so the third field is element 2).

One advantage of this method is that you only work with single-dimension arrays, and both the outer (records) and inner (fields) can be resized with ReDim.

This method takes a little thought the first time you use it.. just remember that the first index is the array of lines (records) in the file, and the second is the array of CSV values (fields) in each line.

Both FileIO() and CSV() can be downloaded from the resources/Kix UDF Library page on my web site.
Glenn
_________________________
Actually I am a Rocket Scientist! \:D