Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Macro substitution and evaluate - which to use
Message
From
19/07/2007 19:41:07
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01241954
Message ID:
01242207
Views:
21
>>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform