Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set command and arrays
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00124046
Message ID:
00124063
Vues:
20
>Hello All,
>When you redimension an array, any values currently held in the array are copied to the resized array.
>
>Which set command eliminates this feature??
>
>I came accross this in one of my apps and I still cna't figure out why it's happening!
>
>Thanks

Sandy,

There is no set commadn, this is how they work. You can get around it by doing something like this;

DIMENSION MyArray(12,4)
MyArray = .F.

Assigning a vlaue to the array name without a row and columnn index assigns that value to all elements of the array.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform