Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Execute custom VFP code at run time
Message
 
 
À
24/08/2008 18:07:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01341399
Message ID:
01341400
Vues:
23
This message has been marked as the solution to the initial question of the thread.
It depends what kind of code. You've 3 options
- EVALUATE() function
- Macro substitution
- ExecScript() function.

The first 2 can only be used for a single expression/statement respectively.
The later one can run any code. Keep in mind that the ExecScript() dumps the code into temporary PRG, compiles and runs it. It's the same as running external PRG.

>I want to run VFP code stored in a MEMO field at run time.
>What's the best solution?
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform