''Example:'' The code below gets the number of parameters passed to our program from the command line with _COMMANDCOUNT:
{{CodeStart}}limit = {{Cl|_COMMANDCOUNT}}
{{Cl|FOR...NEXT|FOR}} i = 1 {{Cl|TO}} limit
{{Cl|PRINT}} {{Cl|COMMAND$}}(i)
{{Cl|NEXT}}
{{CodeEnd}}
: ''Explanation:'' If we start ''ThisProgram.exe'' from the command window with '''ThisProgram -l "loadfile.txt" -s "savefile.txt"''', the _COMMANDCOUNT would be 4, "-l", "loadfile.txt", "-s", "savefile.txt" command arguments passed to the program, which we could then read separately with COMMAND$(n).