Sign in Join
FPDoc Onlineexperiment

TCustomApplication.EnvironmentVariable property

Member of TCustomApplicationpublicIn unit CustApp

Environment variable access.

Declaration

pascal
property EnvironmentVariable[envName: string]: string read GetEnvironmentVar;

Description

EnvironmentVariable gives access to the environment variables of the application: It returns the value of the environment variable EnvName, or an empty string if no such value is available.

To use this property, the name of the environment variable must be known. To get a list of available names (and values), GetEnvironmentList can be used.

See also

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