DADiSP Worksheet Functions > Function Categories > Operating System Interface > GETENV

 

GETENV

Purpose:

Returns the setting of a specified environment parameter.

Syntax:

GETENV("envstr")

"envstr"

-

A string, the environment variable to get.

Returns:

A string.

Example:

getenv("PATH")

 

returns the definition of PATH, the current search path string.

Remarks:

The environment string, envstr, must contain a text string that is identical to a defined operating system environment variable.

See Also:

PUTENV