Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cloning Objects and Comparing
Message
De
24/03/2005 15:42:55
 
 
À
23/03/2005 10:04:48
Moacyr Zalcman
Independent Consultant
São Paulo, Brésil
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 7
OS:
Windows 2000 SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
00998412
Message ID:
00998990
Vues:
18
Hi,

Not what you asked for, but perhaps worthy a second look: using arrays instead of objects.
Scatter is slightly faster to arrays, acopy() works as an easy clone() and iterating over the whole "record" to compare is faster. Arrays are not as selfdescribing, but they have a certain charm for the specific uses you asked for <g>. Mapping from row to fieldname is even easier than the code to walk across objects.

my 0.02 EUR

thomas
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform