A newer version of this document is available. Customers should click here to go to the newest version.
Statements for Program Unit Calls and Definitions
The following table lists statements used for program unit definition and procedure call and return.
Name |
Description |
---|---|
Identifies a block-data subprogram. |
|
Executes a subroutine. |
|
Delineates variables shared between program units. |
|
Identifies the start of module procedures within a host module, contained procedures within a procedure, or bound procedures within a type. |
|
Specifies a secondary entry point to a subroutine or external function. |
|
Declares a name to be that of a user-defined subroutine or function, making it passable as an argument. |
|
Identifies a program unit as a function. |
|
Specifies a generic identifier for one or more specific procedures or type bound procedures. |
|
Makes entities from the host scoping unit accessible or inaccessible. |
|
Inserts the contents of a specified file into the source file. It is not considered a Fortran statement; it is referred to as an include line. |
|
Specifies an explicit interface for external functions and subroutines. |
|
Declares a predefined function. |
|
Identifies a module program unit. |
|
Declares procedure pointers, dummy procedures, external procedures, and type-bound procedures. |
|
Identifies a program unit as a main program. |
|
Returns control to the program unit that called a subroutine or function. |
|
Identifies a program unit as a subroutine. |
|
Gives a program unit access to a module. |