Returns the value of the specified environment variable.
Subroutine
STATUS has one of the following values:
integer num, len, status character*15 value call GET_ENVIRONMENT_VARIABLE('HOME', value, len, status) print*, value print*, len print*, status
The following is sample output generated by the above program:
$ a.out
/home/xlfuser (followed by two spaces)
13
0