| United States-English |
|
|
|
![]() |
HP Fortran Compiler for HP-UX: HP Fortran Programmer's Reference > Chapter 10 HP
Fortran statementsEXTERNAL (statement and attribute) |
|
Declares a name to be external. SyntaxA type declaration statement with the EXTERNAL attribute is:
The syntax of the EXTERNAL statement is:
Note that the syntax of the EXTERNAL statement does not permit optional colons. DescriptionAn EXTERNAL attribute or statement specifies that a name may be used as an actual argument in subroutine calls and function references. The name is either an external procedure, a dummy procedure, or a block data program unit. A name that appears in a type statement specifying the EXTERNAL attribute must be the name of an external procedure or of a dummy argument that is a procedure. The following rules and restrictions apply:
Examples
Related statementsINTRINSIC Related conceptsFor related information, see the following: |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||