02.07.2013 Views

HP Fortran Programmer's Reference

HP Fortran Programmer's Reference

HP Fortran Programmer's Reference

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

GETENV(VAR, VALUE)<br />

Description<br />

Return the value of a system environment variable.<br />

Class<br />

Nonstandard subroutine.<br />

Arguments<br />

Intrinsic procedures<br />

Intrinsic procedure specifications<br />

VAR and VALUE areoftypecharacter.VAR specifies the environment variable name. The<br />

character variable VALUE is assigned the environment variable’s value. VALUE must be<br />

declared large enough to hold the value. If the environment variable is not defined VALUE is<br />

set to all blanks.<br />

GRAN()<br />

Description<br />

Generate Gaussian normal random numbers.<br />

Class<br />

Elemental nonstandard function.<br />

Result<br />

REAL(4). The numbers generated by GRAN have a mean of 0.0, a standard deviation of 1.0, and<br />

a range of approximately -5.0 through +5.0.<br />

HFIX(A)<br />

Description<br />

Convert to INTEGER(2) type.<br />

Class<br />

Elemental nonstandard function.<br />

Chapter 11 519

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!