Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Running compiled code from a string or MEMO field
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00635837
Message ID:
00635842
Views:
24
Hi Peter,

>Is there a way for me to execute compiled code stored in a MEMO field (similar to what is being done for .frx, .scx, etc.) ?
>I am thinking of an implementation using this method to execute some of my codes from a table instead of from external .prgs.

You can put the content of an .frx file to a memo field and copy it out in an frx file again during runtime and execute the file.

Another way would be to store the (not compiled) code in a memo field and execute it with the EXECSCrIPT() function during run-time.

Armin

Armin Neudert
Regional Director (Stuttgart) of German FoxPro User Group dFPUG

MCP for Visual FoxPro

Expert/Editor of the VFP section in the German Codezone community portal
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform