Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How many CASEs in DO CASE?
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01126584
Message ID:
01126637
Vues:
13
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform