Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using TEXT - ENDTEXT
Message
 
 
To
06/01/2009 15:01:30
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01371436
Message ID:
01371485
Views:
24
The macro substitution compiles the expression in a memory and executes it.
The EXESCRIPT() writes code to a PRG on a disk, compiles it and then executes. It's not only slower but also the code executes as external prg. As a side effect, it cannot see classes, forms, reports and other resources embedded into EXE.

>I was under the impression that 2 and 3 were reversed. Thanks for the info.
>
>>Below are different options ordered by efficiency. I always start at the top and go down, if necessary
>>
>>1. Name expression
>>2. Macro substitution
>>3. EXESCRIPT()
>>
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform