02.07.2013 Views

HP Fortran Programmer's Reference

HP Fortran Programmer's Reference

HP Fortran Programmer's Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Intrinsic procedure specifications<br />

Intrinsic procedures<br />

Intrinsic procedure specifications<br />

The following sections describe the <strong>HP</strong> <strong>Fortran</strong> intrinsic procedures. The descriptions are<br />

ordered alphabetically, by intrinsic name. All of the intrinsics are generic. This means that<br />

the type, kind, and rank of the actual arguments can differ for each reference to the same<br />

intrinsic. In many cases, the kind and type of intrinsic function results are the same as that of<br />

the principal argument. For example, the SIN function may be called with any kind of real<br />

argument or any kind of complex argument, and the result has the type and kind of the<br />

argument.<br />

Intrinsic procedure references may use keyword option. The actual argument expression is<br />

preceded by the dummy argument name—the argument keyword—and the equals sign (=).<br />

The argument keywords are shown in the descriptions.<br />

Some intrinsic procedure’s arguments are optional. Optional arguments are noted as such in<br />

the following descriptions.<br />

ABORT()<br />

Description<br />

Close all files, terminate the program, and cause an exception to create a core file.<br />

Class<br />

Nonstandard subroutine.<br />

ABS(A)<br />

Description<br />

Absolute value.<br />

Class<br />

Elemental function.<br />

Argument<br />

A must be of type integer, real, or complex.<br />

Chapter 11 479

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

Saved successfully!

Ooh no, something went wrong!