Information générale
Catégorie:
Codage, syntaxe et commandes
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement