FORTRAN Reference Manual

Statements
FORTRAN Reference Manual528615-001
7-69
INTRINSIC Statement
INTRINSIC Statement
The INTRINSIC statement identifies the names of intrinsic functions, and enables you
to specify intrinsic function names as actual arguments to subprograms.
function
is an intrinsic function name.
Considerations
If you use an intrinsic function name as an actual argument in a CALL statement or
function reference, you must declare it in an INTRINSIC statement in that program
unit.
Do not use the following intrinsic functions as actual arguments:
°
Type conversion functions (CHAR, CMPLX, DBLE, FLOAT, ICHAR, IDINT,
IFIX, INT, REAL, SNGL)
°
Largest/smallest value functions (MAX, MAX1, AMAX0, AMAX1, DMAX1, MIN,
MIN0, MIN1, AMIN0, AMIN1, DMIN1)
Generic function names do not lose their generic property when they appear in
INTRINSIC statements.
Do not include an intrinsic name in more than one INTRINSIC statement in a
program unit.
Do not declare the same name in an INTRINSIC statement and in an EXTERNAL
statement in the same program.
INTRINSIC function [, function ]...