Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Program code in a memo file
Message
 
To
03/09/2000 01:31:09
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00410133
Message ID:
00412562
Views:
22
This can absolutely be done. I am doing this with FPW 2.6. As long as the source is newer than the currently compiled file Fox will recompile it on the fly. This can be used to compile anything but the application you are currently running. I store code to set up the data environment for reports in a memo field. When the users chooses to run the report I copy it out, compile it, and run it. Works great. NOTE: In VFP 6 SP3 you must manually issue the COMPILE command in order to compile such files...just a little change that threw me off for a while :)

>>I had a student recently ask me if you can store code in a memo field so it can be accessed, compiled, and executed at runtime. I think this is possible with the COMPILE command, yes?
>
>At runtime, No, AFAIK. You need to compile, which I beleive only became available in VFP6 SP3
Everything we see or seems
Is but a dream within a dream
- Edgar Allen Poe
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform