Sign in Join
FPDoc Onlineexperiment

argv variable

In unit System

Pointer to the array of command-line arguments.

Declaration

pascal
argv : PPAnsiChar;external 'operatingsystem_parameter_argv'

Description

argv contains a pointer to a nil-terminated array of null-terminated strings, containing the command-line arguments passed to the program by the OS. It is not available on all systems.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.