Hello Ben
This redimension of my array does not keep my memory in the same(original) location. The word 'TEST' is now in (2,1)...furthermore, it is inconsistent. Why can it be that my redimension is not functioning correctly? It doesn't keep the variables in it's original spot.
Actually, the array element is in its original spot. location [ 2, 2 ] in an array that is dimensioned 4 x 4 is element number 6. If that array is redimensioned to 5 x 5, element number 6 is now in location [ 2, 1 ].
Check out the AELEMENT() function in the on-line help. The function returns the number of an array element from the element's subscripts.
HTH
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement