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:
01126710
Views:
19
>>>
>>>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!

Thank you, Naomi. Hag Sameah to you too, although I don't know which one it is <g>.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform