Use the example...
but before running it hit F2 to open the console. Type Hello World, close the console and Build and Run.
Notice that AppArgs prints out the arguments you gave the program.
' appargs.bmx ' print the command line arguments passed to the program at runtime Print "Number of arguments = "+AppArgs.length For a$=EachIn AppArgs Print a$ Next
but before running it hit F2 to open the console. Type Hello World, close the console and Build and Run.
Notice that AppArgs prints out the arguments you gave the program.