Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Execute custom VFP code at run time
Message
 
 
To
24/08/2008 18:07:10
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01341399
Message ID:
01341400
Views:
22
This message has been marked as the solution to the initial question of the thread.
It depends what kind of code. You've 3 options
- EVALUATE() function
- Macro substitution
- ExecScript() function.

The first 2 can only be used for a single expression/statement respectively.
The later one can run any code. Keep in mind that the ExecScript() dumps the code into temporary PRG, compiles and runs it. It's the same as running external PRG.

>I want to run VFP code stored in a MEMO field at run time.
>What's the best solution?
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform