Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
101 VFP7 thing, Part 2
Message
From
11/12/2000 15:57:02
 
 
To
11/12/2000 15:53:29
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00448960
Message ID:
00451848
Views:
41
>>FYI, _VFP.DoCMD() is roughly five times slower than macro substitution, and EXECSCRIPT() is nearly 800 times slower.
>
>Yeah, I'm guessing DoCmd is just a COM wrapper for "&" and ExecScript() is a wrapper for StrToFile();COMPILE. Hence the hold up.


I think you're right. The following supports your assertion:

LOCAL lc
lc = "Howdy"
=EXECSCRIPT("MESSAGEBOX(lc)")

This gets an error because lc is not in scope- so the function isn't really running in-line, but being called as a subroutine.
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform