Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 6/24/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

Statements for Program Unit Calls and Definitions

The following table lists statements used for program unit definition and procedure call and return.

Name

Description

BLOCK DATA

Identifies a block-data subprogram.

CALL

Executes a subroutine.

COMMON

Delineates variables shared between program units.

CONTAINS

Identifies the start of module procedures within a host module, contained procedures within a procedure, or bound procedures within a type.

ENTRY

Specifies a secondary entry point to a subroutine or external function.

EXTERNAL

Declares a name to be that of a user-defined subroutine or function, making it passable as an argument.

FUNCTION

Identifies a program unit as a function.

GENERIC

Specifies a generic identifier for one or more specific procedures or type bound procedures.

IMPORT

Makes entities from the host scoping unit accessible or inaccessible.

INCLUDE

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.

INTERFACE

Specifies an explicit interface for external functions and subroutines.

INTRINSIC

Declares a predefined function.

MODULE

Identifies a module program unit.

PROCEDURE

Declares procedure pointers, dummy procedures, external procedures, and type-bound procedures.

PROGRAM

Identifies a program unit as a main program.

RETURN

Returns control to the program unit that called a subroutine or function.

SUBROUTINE

Identifies a program unit as a subroutine.

USE

Gives a program unit access to a module.