Name

ParamCount Function

Syntax

function ParamCount: Integer;

Description

The ParamCount function returns the number of command-line parameters available to the application. This value is zero in a library. ParamCount is a real function.

Example

See ParamStr for an example.

See Also

CmdLine Variable, ParamStr Function

Get Delphi in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.