CommandLine specifies a command line to pass to an application.
Command lines are a common way used in most operating systems to pass values to an application when they launch.
They are set by simply adding a string after a file path.
Eg:
Starting a program with:
"C:\Program.exe" -debug
Would tell it to run in Debug mode. Of course, there are other very imaginative ways to do this... for example, the Grasshopper Web Plugin system (in my sig) passes applications a command line containing arguments sent by an HTML document and an important window handle.
To get command lines in your own app:
appArg$=CommandLine()
Print "Below is this application's command line:"
Print appArg$
WaitKey
End
Just set the command line in the command to boot a program or (for testing purposes -- command line values are not saved within the final executable) via the IDE, and the program will print it.
Some other examples of command lines:
When we view a file in Windows, the application being used is usually launched with a command line containing a path to the file in question.
Screen savers use command lines -- "\S" tells it to run in Screensaver mode, "\P" tells it to run in Preview mode, and "\C" tells it to run in Configuration mode.
Command lines are obvious in text-based OS interfaces. For example, if you open the Windows Command Prompt, changing directories involves executing a program with the new directory as a command line. As does deleting files. The Poweroff program in some places accepts command line values to decide how exactly to power off.
Even the Blitz compiler takes command line values!
Hope this helps!