Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Clearing an Array...
Message
 
À
08/04/1998 19:55:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00090631
Message ID:
00090635
Vues:
19
Mark,
There are a couple of ways to clear out an existing array. The first is to initialize all of the cells to a value. The following example sets all elements of the specified array to the value "ROD"

Declare laArray[10,2]
laArray = "ROD"

All elements of this array are set as "ROD".

You can also dynamically resize the array with the Declare statment. Just us the declare command with your new dimensions and FoxPro does the work.

Hope these give you a couple of ideas.

Rod
Rod Paddock
Editor in Chief CoDe Magazine
President Dash Point Software, Inc.
VP Red Matrix Technologies,Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform