Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Network:
Windows 2000 Server
>David,
>
>Thanks for the response.
>
>This command is being incorporated into a much larger system for the purposes of speed; many slightly different versions of the code will be submitted in succession, represented by a long string of text that is modified each time. Since it's true that all it does is store to a temp file and run it, do you think this is any faster then just FILETOSTR() followed by 'DO SomeCode.prg' ? I was hoping it could all be done in memory...
>
>Irv.
>
The Exescript is MUCH MUCH faster than
StrtoFile(mycode)
Compile (mycode)
do (mycode)
It's the compile that's slow, at least on our systems. The Exescript doesn't seem to have the COMPILE delay. You can't run a .prg at runtime, you need to COMPILE first.
So I'd be using Exescript() wherever you can.
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