XL Fortran for AIX 8.1

Language Reference


Chapter 10. Statements

This chapter provides an alphabetical reference to all XL Fortran statements. The section for each statement is organized to help you readily access the syntax and rules, and points to the structure and uses of the statement in Part 2, Concepts and Elements.

The following table lists the statements, and shows which ones are executable, which ones are specification_part statements, and which ones can be used as the terminal statement of a DO or DO WHILE construct.

Notes:

  1. IBM Extension.

  2. Fortran 95.


Table 14. Statements Table

STATEMENT NAME EXECUTABLE STATEMENT SPECIFICATION STATEMENT TERMINAL STATEMENT
ALLOCATABLE
X
ALLOCATE X
X
ASSIGN X
X
AUTOMATIC (1)
X
BACKSPACE X
X
BLOCK DATA


BYTE (1)
X
CALL X
X
CASE X

CHARACTER
X
CLOSE X
X
COMMON
X
COMPLEX
X
CONTAINS


CONTINUE X
X
CYCLE X

DATA
X
DEALLOCATE X
X
Derived Type


DIMENSION
X
DO X

DO WHILE X

DOUBLE COMPLEX (1)
X
DOUBLE PRECISION
X
ELSE X

ELSE IF X

ELSEWHERE X

END X

END BLOCK DATA


END DO X
X
END IF X

END FORALL (2) X

END FUNCTION X

END INTERFACE
X
END MAP (1)
X
END MODULE


END PROGRAM X

END SELECT X

END SUBROUTINE X

END STRUCTURE (1)
X
END TYPE
X
END UNION (1)
X
END WHERE X

ENDFILE X
X
ENTRY
X
EQUIVALENCE
X
EXIT X

EXTERNAL
X
FORALL (2) X
X
FORMAT
X
FUNCTION


GO TO (Assigned) X

GO TO (Computed) X
X
GO TO (Unconditional) X

IF (Block) X

IF (Arithmetic) X

IF (Logical) X
X
IMPLICIT
X
INQUIRE X
X
INTEGER
X
INTENT
X
INTERFACE
X
INTRINSIC
X
LOGICAL
X
MAP (1)
X
MODULE


MODULE PROCEDURE
X
NAMELIST
X
NULLIFY X
X
OPEN X
X
OPTIONAL
X
PARAMETER
X
PAUSE X
X
POINTER (Fortran 90)
X
POINTER (integer) (1)
X
PRINT X
X
PRIVATE
X
PROGRAM


PUBLIC
X
READ X
X
REAL
X
RECORD
X
RETURN X

REWIND X
X
SAVE
X
SELECT CASE X

SEQUENCE
X
Statement Function
X
STATIC (1)
X
STOP X

SUBROUTINE


STRUCTURE (1)
X
TARGET
X
TYPE
X
Type Declaration
X
UNION (1)
X
USE
X
VIRTUAL (1)
X
VOLATILE (1)
X
WAIT (1) X
X
WHERE X
X
WRITE X
X

Assignment and pointer assignment statements are discussed in Chapter 5, Expressions and Assignment. Both statements are executable and can serve as terminal statements.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]