HP Fortran Programmer's Reference (September 2007)

HP Fortran statements
INTRINSIC (statement and attribute)
Chapter 10 393
INTRINSIC (statement and attribute)
Identifies an intrinsic procedure.
Syntax
The syntax of the type declaration statement with the INTRINSIC attribute is:
type
,
attrib-list
::
intrinsic-function-name-list
type
is a valid type specification (INTEGER, REAL, LOGICAL, CHARACTER,
TYPE(
name
), etc.).
attrib-list
is a comma-separated list of attributes including INTRINSIC and optionally
those attributes compatible with it, namely:
intrinsic-function-name-list
is a comma-separated list of
intrinsic-function-
names. (Note that
subroutine names cannot appear in type statements, so that intrinsic
subroutine names can only be identified as such by use of the INTRINSIC
statement, described below.)
The syntax of the INTRINSIC statement is:
INTRINSIC
intrinsic-procedure-name-list
where
intrinsic-procedure-name-list
is a comma-separated list of procedure names.
Note that, like the EXTERNAL statement, the INTRINSIC statement does not have optional
colons.
Description
The INTRINSIC statement and attribute identifies a specific or generic name as that of an
intrinsic procedure, enabling it to be used as an actual argument. (Only a specific function
name—or a generic name that is the same as the specific name—can be used as an actual
argument; see “Procedure dummy argument” on page 174.) The INTRINSIC statement is
necessary to inform the compiler that a name is intrinsic and is not the name of a variable.
Table 10-30
PRIVATE PUBLIC