Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
101 VFP7 thing, Part 2
Message
De
11/12/2000 15:50:37
 
 
À
11/12/2000 15:36:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00448960
Message ID:
00451834
Vues:
48
>>Also, as I have stated before, I feel that most of the legitimate uses of & should rightfully be replaced by VFP functions designed to replace them:
>
>_vfp.DoCmd("SET SAFETY ON")
>or
>ExecScript('SET SAFETY ON')
>
>There, no Macros :-)

Ok, but that sort of defeats the point, which is avoiding runtime compilation in favor of native functions.

FYI, _VFP.DoCMD() is roughly five times slower than macro substitution, and EXECSCRIPT() is nearly 800 times slower. And for a simple variable assignment, macros take roughly 2.5 times a straight assignment. See why we still need native functions?
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform