HP Fortran Programmer's Reference (September 2007)

Intrinsic procedures
Intrinsic procedure specifications
Chapter 11554
GETENV(VAR, VALUE)
Description
Return the value of a system environment variable.
Class
Nonstandard subroutine.
Arguments
VAR and VALUE are of type character. VAR specifies the environment variable name. The
character variable VALUE is assigned the environment variable’s value. VALUE must be
declared large enough to hold the value. If the environment variable is not defined VALUE is
set to all blanks.
GRAN()
Description
Generate Gaussian normal random numbers.
Class
Elemental nonstandard function.
Result
REAL(4). The numbers generated by GRAN have a mean of 0.0, a standard deviation of 1.0, and
a range of approximately -5.0 through +5.0.
HFIX(A)
Description
Convert to INTEGER(2) type.
Class
Elemental nonstandard function.