Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Proper Encapsulation Techniques?
Message
 
À
16/09/1998 18:55:17
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00131613
Message ID:
00137757
Vues:
27
If I were going to create an array anyway, I would just scatter to an array rather than scattering to an object and then placing the object in an array. I would guess that the memory consumption for passing an array of objects is considerably larger than just passing an array.


>>SCATTERING a row to an object works great if you only need to pass a single row, but what if you need to pass multiple rows at a time? Would the best way be to scan through the data, scatter to an object, call the update method and then move to the next row and repete the process?
>>
>
>You may create an array of objects, and redimension it as needed, then traverse the array and do the updates.

Michael G. Emmons
memmons@nc.rr.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform