Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How many CASEs in DO CASE?
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01126584
Message ID:
01126637
Views:
22
This message has been marked as a message which has helped to the initial question of the thread.
>>
>>Be aware of the problem with EXECSCRIPT that it can not see SET('procedure') functions. Better use old approach with strtofile and compile if you need to use some existing classes or functions.
>
>I have never used the COMPILE command. You mentioned that I have to STRTOFILE, but why? If my code is stored in a MEMO field, is it required for the COMPILE command to work to have the code on disk?

Compile works with the file. So, you would need

strtofile(myMemo, m.lcTempDir + 'myProc.prg')
compile (m.lcTempDir + 'myProc.prg')

Hag Sameah!
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform