The getenv function

Description

The getenv function returns the value of an environment variable. The type of the value returned by this function is always string.

Parameter

The getenv function's only parameter is the expression of string type or char type which contains the name of the environment variable whose value is to be returned. NOTE: If no environment variable has a name matching this parameter then an empty string is returned.

Portability

Operating Systems: All
Standard Pascal: No