Show: DelphiC++
Display Preferences

System.ParamCount

From XE2 API Documentation

Jump to: navigation, search

Delphi

function ParamCount: Integer;

C++

extern PACKAGE int __fastcall ParamCount(void);

Contents

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

Personal tools
Previous Versions
Translations