Next: The EXTRINSIC Prefix
Up: Declaration of Extrinsic Program
Previous: Function and Subroutine Statements
An extrinsic-prefix may also appear at the beginning of a
program-stmt, module-stmt, or
block-data-stmt. The following syntax definition extends the
Fortran 95 syntax rules R1102 for program-stmt, R1105 for
module-stmt, and R1111 for block-data-stmt.
H605 program-stmt | is [ extrinsic-prefix ] PROGRAM program-name |
H606 module-stmt | is [ extrinsic-prefix ] MODULE module-name |
H607 block-data-stmt | is [ extrinsic-prefix ] BLOCK DATA |
- Every module-subprogram of any HPF module must
be of the same extrinsic kind as its host, and any
module-subprogram whose extrinsic kind is not given
explicitly is assumed to be of that extrinsic kind.
- Every internal-subprogram of any HPF
main-program or module-subprogram must be of the
same extrinsic kind as its host, and any
internal-subprogram whose extrinsic kind is not given
explicitly is assumed to be of that extrinsic kind.