Posted: Sun Sep 22, 2002 5:47 pm
Restored from previous forum. Originally posted by PB.
Sometimes I need to include data in my sources from a text file, and to
do so I have to run an external app to generate the data before I can
IncludeFile it. Two steps, which is one too many.
So I was thinking... it should be fairly simple to have a new compiler
command called CompilerRun that would run program.exe,
wait for it to exit, and then continue compilation. Is that possible?
Shouldn't be too hard to do, and would mean I wouldn't have to keep
switching to the external program manually to run it before compiling.
PB - Registered PureBasic Coder
Sometimes I need to include data in my sources from a text file, and to
do so I have to run an external app to generate the data before I can
IncludeFile it. Two steps, which is one too many.

So I was thinking... it should be fairly simple to have a new compiler
command called CompilerRun that would run program.exe,
wait for it to exit, and then continue compilation. Is that possible?
Shouldn't be too hard to do, and would mean I wouldn't have to keep
switching to the external program manually to run it before compiling.
PB - Registered PureBasic Coder