How to use AppArgs ?
BlitzMax Forums/BlitzMax Programming/How to use AppArgs ?
| ||
hi all, i tried that code, but does not work Global File_To_load:String If argc>0 Print "Loading..." File_to_load=AppArgs[1] else ... compiler message : unable to convert from 'String' to 'Int' ??? Why ? thx |
| ||
AppArgs is an Array of Char this means array of int if you want to use the stuff within you have to parse it. |