Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using TEXT - ENDTEXT
Message
From
06/01/2009 15:05:41
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01371436
Message ID:
01371483
Views:
16
>>Thanks Sergey, that's much cleaner than my attempt. Curious about something else now. You used macro expansion rather than EXEXSCRIPT. Any reason to prefer one over the other?
>>
>EXECSCRIPT executes in its own environment that may be different than current program environment (different SET settings, paths, etc.)

I was unaware of this. From the help

ExecScript( ), unlike macro expansion, provides the same effect as selecting several lines of code in the command window then pressing the Enter key

and no mention of it's own environment.
Previous
Reply
Map
View

Click here to load this message in the networking platform