Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I clear an array?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP1
Network:
Windows NT
Database:
Visual FoxPro
Divers
Thread ID:
01073679
Message ID:
01074000
Vues:
10
>Is there a function that clears the elements of an array? I'm using ADEL() to clear each element one at a time, but there's got to be a more efficient way.
>
>Thanks for reading!

Just re-dimension it to 1 element and set it to .F..
DIMENSION myarray[1]
myarray = .F.
That'll do it.
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform