Multi-dimensional arrays

Is there any way to insert elements on a Multi-dimensional array that does not have a specific size, like A(-1,-1)? I only know how many columns this array has, but I wanted to do with variable row count, and I’m getting ‘OutOfBoundsException’ when I try populate the array just with ‘A(0,0)=1’, for instance.

http://developer.xojo.com/redim

Array(-1,2)
Redim Array((Ubound(Array,1)+1,2))

Quite clever, I must say :slight_smile:

Thanks Jason.