Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Clearing the array
Message
 
 
À
05/11/2002 01:20:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00718819
Message ID:
00718827
Vues:
27
You can dynamically dimension arrays at runtime

dimension laX[5] && now 5 elements
...
dimension laX[50] && now 50 elements
laX = .f. && fill with false
laX = .null. && fill with nulls
...
dimension laX[reccount()] && don't have to use static values

If you increase the size of the array existing data is preserved. Although this leads to issues when the array is two dimensional.

You can do the same things to object property arrays.

>i want to define new arrays in the run the run time and clear content of the array?.kindly help me in this regard
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform