March 2000
Intermediate to advanced
576 pages
18h 13m
English
CmdLine Variable
var CmdLine: PChar;
The CmdLine variable stores the command line that
was used to invoke the program. It is an empty string for libraries.
The ParamCount and ParamStr
functions parse the command line into separate arguments; it is
usually more convenient to use these than to parse the entire command
line yourself.
To check for switches on the command line, call the
FindCmdLineSwitch function in the
SysUtils unit.
| CmdShow Variable, ParamCount Function, ParamStr Function |
Read now
Unlock full access