Command Line in blitzmax?

BlitzMax Forums/BlitzMax Beginners Area/Command Line in blitzmax?

Caton(Posted 2016) [#1]
is there a Command Line in blitzmax?


dw817(Posted 2016) [#2]
Do you mean for command-line compilation - or do you want to do a DOS command in BlitzMAX, Caton ?


Brucey(Posted 2016) [#3]
You can pass command-line arguments to a BlitzMax program :
myApp 1 2 3

You handle the arguments in your program with the AppArgs[] array.


dw817(Posted 2016) [#4]
If you just want a single input line, Caton, provided there are no spaces in it, you can use this to pull it out:
Strict
If AppArgs.length>1 Then Print AppArgs[1]
Input":"