Hi
I have this code and it works fine..
Code:
 
Dim $Array[5,1]

$Array[0,0] = "A"
$Array[1,0] = "B"
$Array[2,0] = "C"
$Array[3,0] = "D"
$Array[4,0] = "E"

$Array[0,1] = "1"
$Array[1,1] = "2"
$Array[2,1] = "3"
$Array[3,1] = "4"
$Array[4,1] = "5"

$counter = 0
While $counter < Ubound($array)
? $array[$counter,0]
? $array[$counter,1]
$counter = $counter + 1
Loop



Next step is to expand the size of the array with Redim Preserv.
If I code like this it wont work. I get ERROR : array reference out of bounds!

Code:
  

ReDim preserve $Array[6,1]