Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to dynamically Resize array.
Message
 
 
À
16/04/2003 11:29:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00778384
Message ID:
00778387
Vues:
29
>How do I dynamically resize an array at run-time. I am a VFP newbie, and have no clue as to how to declare an array, and simply add elements within a control loop in my code. I don't know the size needed before the loop is entered (eg. a SQL query returning variable number of records).
>
>Thanks,
>
>Fred Zimmerman

Hi Fred,

You can use DIMENSION command to dimension or re-dimension array. SELECT statement will redimention array automaticaly, if any records are returned.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform