Page 1 of 1

Saving to a user-chosen filename?

Posted: Fri Aug 19, 2005 8:22 pm
by Alex
I've just started with PureBasic, and I've tried a couple different ways to make the command-line compiler save to a specified filename, but it always saves to the name "purebasic.exe." Does anyone know how to make the compiler output a user-chosen output filename?

Currently I'm using a shell script to do the same thing, but I'd rather know the right way to do it.

Alex

Posted: Fri Aug 19, 2005 9:09 pm
by Beach
This works for me:

$ pbcompiler foo.pb -e bar.pbe

Compiles "foo.pb" to "bar.pbe"