Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set command and arrays
Message
De
05/08/1998 09:59:24
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00124046
Message ID:
00124051
Vues:
17
Sandy ---

There is no SET command that controls this behaviour. You can, however, clear the array pretty simply:

aMyArray=""

Now reDIM it and it'll be clear.


>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
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform