Command Line in blitzmax?
BlitzMax Forums/BlitzMax Beginners Area/Command Line in blitzmax?
| ||
is there a Command Line in blitzmax? |
| ||
Do you mean for command-line compilation - or do you want to do a DOS command in BlitzMAX, Caton ? |
| ||
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. |
| ||
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":" |