ENVIRONMENT Function (UNIX/Windows)

Returns a string array containing all the environment strings for the PV‑WAVE process.

Usage

    result = ENVIRONMENT( )

Parameters

None.

Returned Value

result—A string array containing all the environment strings for the PV‑WAVE process. Each element of the result contains one environment string.

Keywords

None.

Discussion

PV‑WAVE inherits its environment from its parent process, which is usually the shell (UNIX) or Command Window (Windows) from which it was started.

Example

This prints a list of the environment variables defined for the shell in which PV‑WAVE was started.

p = ENVIRONMENT()
PRINT, p

See Also

GETENV, SETENV