Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Fastest way to get a collection of objects into an array
Message
De
22/06/2000 16:31:14
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00380481
Message ID:
00383426
Vues:
17
>Daniel -- I am not aware of a native function to handle this, but one note that may help: your code will run more quickly if you declare a local array, do all the adding into that array, and then coppy that array at the end into the form level array. VFP is relatively slow at moving data into and out of form-property arrays, at least compared to local arrays. Even the later ACOPY probably won't cost you as much time as you will save with a local array.

Thanks for the tip, will make it so.
EMail: danielj@ryte-byte.com
"If I'm paddling so hard, how come I'm going backwards?" - Pinocchio (while the whale was swallowing him...)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform