General information
Category:
Coding, syntax & commands
Environment versions
Network:
Windows 2000 Server
Dave,
We tried Execscript() and you're right, it's extremely fast. Thanks again,
-Irv.
>>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.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only