Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Array trouble
Message
De
25/06/2002 10:45:12
 
 
À
25/06/2002 10:16:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00672003
Message ID:
00672017
Vues:
11
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
Fil
Voir

Click here to load this message in the networking platform