PDA

Click to See Complete Forum and Search --> : Redim


Dec 30th, 1999, 08:47 PM
I have a three dimensional array and want to redim the two last dimensions but need to keep the information that is already stored in the array. I've tried using the preserve technique but that only seems to work when i change the last dimension.
Please somebody help me, i'm going crazy.

Gerald
Dec 30th, 1999, 10:03 PM
Redim Preserve only allows you to change the last dimension of an array. Your only option is to Dim a new array and copy the original array contents into the newly dimensioned array.

Gerald

Clunietp
Dec 30th, 1999, 10:11 PM
I've been in the same situation, Mark, and I ended up using multiple 1 dimension arrays that were in parallel with each other

HTH

Tom