Sign in Join
FPDoc Onlineexperiment

TCustomApplication.GetEnvironmentList procedure

Member of TCustomApplicationpublicIn unit CustApp

Return a list of environment variables.

Declaration

pascal
procedure GetEnvironmentList(List: TStrings; NamesOnly: Boolean)
procedure GetEnvironmentList(List: TStrings)

Arguments

List

List to return environment strings in.

NamesOnly

If True, only environment variable names will be returned.

Description

GetEnvironmentList returns a list of environment variables in List. They are in the form Name=Value, one per item in list. If NamesOnly is True, then only the names are returned.

See also

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