Compiling from the command line

Blitz3D Forums/Blitz3D Beginners Area/Compiling from the command line

Is there any way to run Blitz3D.exe in a way that will just compile the file to an EXE (and possibly run it)? I'd like to try to use my favorite editor with Blitz, but I want to avoid needing to open the same file in the BlitzIDE every time I want to compile/run/test what I'm editing.

Thanks,

Ed

you need to call Blitzcc.exe not Blitz3D.exe

go to the command line, change to the Blitz3d\bin directory and type blitzcc.exe -h for command line options.

Thanks!

oh as a side note, you need to add the BLITZPATH environment variable
In winXP, go to control panel->system->Advanced->Environment Variables
create a new user variable named BLITZPATH with a value of C:\Program Files\Blitz3D (or wherever you installed blitz to).

Cool... got it!