command line tool

BlitzMax Forums/BlitzMax Programming/command line tool

how can i create a command line tool? Like the BMK utility.

Don't call graphics() and don't compile as a gui app.

I realize that but how to you get parameters for the tool?

If you're asking how to read parameters then look here...

If you're asking how to redirect output to a console window, then just de-select 'Program>Build Options>Build GUI App' form the IDE and all print statements will be redirected to the console (and don't use a graphics mode, obviously).

[edit]
Oops..A bit slow! ;o)
[/edit]

lol thanks that just what i was looking for