Information générale
Catégorie:
Codage, syntaxe et commandes
>Is there a way to programmatically execute a block of text contained within a string variable?
>
>I know you can break it down into individual lines and use runtime macro ...
>&cLine
>on each line.
>
>But is there a better way now with VFP?
Well... with VFP 6.0 SP 3 you can compile in the runtime... so... do a String to File, compile it, then run it.
Also, you can use Codeblock which will run a block of code passed to it. I think it is in the files section here.
BOb
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