Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Macro substitution and evaluate - which to use
Message
De
19/07/2007 19:41:07
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01241954
Message ID:
01242207
Vues:
22
>>Perhaps not, or if so, only slightly. Macros have always slowed down the execution of code.
>
>Greg,
>EXECSRIPT() is equal to:
>STRTRAN(variable, [some temp file.PRG])
>COMPILE [some temp file.PRG]
>DO [some temp file.Fxp]
>ERASE ([some temp file.*]
>
>So how this could be faster that macro?

Maybe in a loop - it is cached just like any other prg, so it wouldn't be recompiled on next use. But for single use, the benefit is only in debugging and being able to pass parameters to it. And I like the syntax better :).

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform