Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CLR and VFP
Message
De
04/09/2000 16:54:04
 
 
À
04/09/2000 13:59:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00409695
Message ID:
00412305
Vues:
22
>>I didn't know that, but then again I'm going to guess that this will be worse than using a macro in terms of performance.
>
>I'll bet you $25 that () is at least twice as fast as & in this situation.

Careful, Mike. EVAL is only about 10% faster when referencing an Object's property vs. using a macro.

oObject.&cProp = value

STORE value TO EVAL("oObject."+cProp)

If it's a straight EVAL() vs. macro for an ordinary variable, you're correct. It is still faster, though.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform