Next: , Previous: GetCWD Intrinsic (function), Up: Table of Intrinsic Functions


8.11.9.121 GetEnv Intrinsic

     CALL GetEnv(Name, Value)

Name: CHARACTER; scalar; INTENT(IN).

Value: CHARACTER; scalar; INTENT(OUT).

Intrinsic groups: unix.

Description:

Sets Value to the value of environment variable given by the value of Name ($name in shell terms) or to blanks if $name has not been set. A null character (`CHAR(0)') marks the end of the name in Name—otherwise, trailing blanks in Name are ignored.