Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can I store and run 'Object' code
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00486667
Message ID:
00486774
Vues:
10
If you have VFP 7 you can use the new ExecScript function.
If not, then you can make such a function yourself with Freds code.
Then you can easy convert your code when VFP 7 comes out.


>Is there a way to compile a file,store the Object code in a memo field, and then just DO the object code.
>
>The reason I need this is that I have user defined Source code set up in a table which may change infrequently. I know I can Compile this code each time and run it but there will be an 'efficiency hit' each time I do this.
>
>What I would like to be able to do is:
>
>a. Compile all My Source Code at start of App
> Store it in a memo field (or File) in a table
>
>
>b. As I Need Object Code(Typically in a grid enquiry), Do Object Code
>
>
>Just one other q to do with Doing/executing code.
>If I highlight a Block of code in the command window,thrn Right Click, it executes the code. Is there a way of doing this programatically... the code does not seem to be compiled ?
>
>regards,
>
>Gerard
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform