[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'System' (#rtl)

argc

Number of command-line arguments.

Declaration

Source position: sysunixh.inc line 59

var argc: LongInt;

Description

argc contains the number of command-line arguments passed to the program by the OS. It is not available on all systems.

See also

argv

  

Pointer to the array of command-line arguments

envp

  

Pointer to the array of environment variables

The latest version of this document can be found at lazarus-ccr.sourceforge.net.