; CommandLine Example ; ------------------- ; CommandLine$() returns any parameters the program was started with. ; To test in the IDE: open Program->Program Command Line, type /debug ; and run this example again. args$=CommandLine$() If args$="" Then Print "No command line parameters were passed." Print "Use Program->Program Command Line in the IDE to set some." Else Print "Command line received: "+args$ ; React to a parameter, e.g. a debug switch for your game If args$="/debug" Then Print "Debug mode is on!" EndIf Print "" Print "Press any key to close the example" WaitKey End