fgl_getenv()

Returns the value of the environment variable.

Syntax

fgl_getenv(
   variable STRING )
  RETURNING result STRING
  1. variable is the name of the environment variable.

Usage

The argument of fgl_getenv() must be the name of an environment variable.

If the requested value exists in the current user environment, the function returns the value of that variable. If the specified environment variable is not defined, the function returns a NULL value. If the environment variable is defined but does not have a value assigned to it, the function returns blank spaces.