bpi.form.getenv()
Subroutine Syntax
CALL bpi.form.getenv( seek.name, seek.value, error)
Parameters
Param |
Direction |
Description |
seek.name |
passed |
name of environment variable whose value you wish to retrieve |
seek.value |
returned |
value of seek.name |
error |
returned |
zero if successful, otherwise 1 |
Example
CALL bpi.form.getenv( \HOME\, seek.value, error)
IF NOT(error) THEN
CRT \The environment variable HOME is set to a value of: \:seek.value
END ELSE
CRT \Error when trying to get value of envirment variable HOME\
END