and example using a multidimensional array.

you have a text file with the following data in it.
Code:

3 s 5 y h d
e 4 5 6 7 9
3 e w 8 9 0
2 e e 4 5 6
2 3 1 9 9 3
3 4 d 7 q s




Code:

$data = loadfile("data.txt")
for $i = 0 to ubound($data)
$data[$i] = split($data[$i])
next

? $data[2][3]

;this Function will load the contents of a text file into an array
Function loadfile($file)
DIM $fso,$f,$fs
$fso = CreateObject("Scripting.FileSystemObject")
$f = $fso.GetFile($file)
If @ERROR Exit(2) EndIf
$fs = $f.OpenAsTextStream(1)
$loadfile = Split($fs.Read($f.size),@CRLF)
Exit(@ERROR)
EndFunction



when you print 2,3 you should get "8"