RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
System.ParamCount Function

Returns the number of parameters passed on the command line.

Pascal
function ParamCount: Integer;
C++
int ParamCount();

System

ParamCount returns the number of parameters passed to the program on the command line. Separate parameters with spaces or tabs. Use double quotes to wrap multiple words as one parameter (such as long file names containing spaces). 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!