I can't figure out how to dim and redim a multi-dimensional array while maintaining content. I have no issues with single dimension array. I've tried:
i=2
j=3
dim arr()
redim preserve arr(i, j)
error: Subscript out of range
dim arr(0,0)
redim preserve arr(i, j)
error: The array is fixed or temporarily locked
dim arr(,)
redim preserve arr(i, j)
error: Are you an idiot?
Any ideas (not pertaining to the last error)?
-Geates
i=2
j=3
dim arr()
redim preserve arr(i, j)
error: Subscript out of range
dim arr(0,0)
redim preserve arr(i, j)
error: The array is fixed or temporarily locked
dim arr(,)
redim preserve arr(i, j)
error: Are you an idiot?
Any ideas (not pertaining to the last error)?
-Geates