- 4.69.2.12 -
Standard Units
WinDos Unti
WinDos Unit Procedures and FunctionsGetArgCount function
Targets: MS-DOS, OS/2, Win32
WinDos Unit
Returns the number of parameters passed to the program on the command line.
Declaration:
function GetArgCount: Longint;
Remarks:
Command line parameters are separated by spaces or tabs.
To retrieve command line parameters call
GetArgCount.
Example:
uses WinDos;
begin
if GetArgCount = 0 then
begin
WriteLn('No parameters specified.');
Halt(1);
end;
end.
|
|
|
FileSplit procedure |
Table of Content |
GetArgStr function |
- 4.69.2.12 -