command line tool

BlitzMax Forums/BlitzMax Programming/command line tool

kfprimm(Posted 2005) [#1]
how can i create a command line tool? Like the BMK utility.


deps(Posted 2005) [#2]
Don't call graphics() and don't compile as a gui app.


kfprimm(Posted 2005) [#3]
I realize that but how to you get parameters for the tool?


Yan(Posted 2005) [#4]
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]


kfprimm(Posted 2005) [#5]
lol thanks that just what i was looking for