System.ParamCount

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function ParamCount: Integer;

C++

extern DELPHI_PACKAGE int __fastcall ParamCount(void);

Properties

Type Visibility Source Unit Parent
function public
System.pas
System.hpp
System System

Description

Returns the number of parameters passed on the command line.

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

See Also


Code Examples