>>
>>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