Each statement is classified as executable or nonexecutable.
Executable statements specify actions and form an execution
sequence in an executable program. Nonexecutable statements
specify characteristics, arrangement, and initial values
of data; contain editing information; specify statement
functions; classify program units; and specify entry points
within subprograms. Nonexecutable statements are not part
of the execution sequence. Nonexecutable statements may
be labeled, but such statement labels must not be used to
control the execution sequence.
The following statements are classified as executable:
- Arithmetic, logical, statement label (ASSIGN), and
character assignment statements
- Unconditional GO TO, assigned GO TO, and computed
GO TO statements
- Arithmetic IF and logical IF statements
- Block IF, ELSE IF, ELSE, and END IF statements
- CONTINUE statement
- STOP and PAUSE statements
- DO statement
- READ, WRITE, and PRINT statements
- REWIND, BACKSPACE, ENDFILE, OPEN, CLOSE, and INQUIRE
statements
- CALL and RETURN statements
- END statement
The following statements are classified as nonexecutable:
- PROGRAM, FUNCTION, SUBROUTINE, ENTRY, and BLOCK
DATA statements
- DIMENSION, COMMON, EQUIVALENCE, IMPLICIT, PARAMETER,
EXTERNAL, INTRINSIC, and SAVE statements
- INTEGER, REAL, DOUBLE PRECISION, COMPLEX, LOGICAL,
and CHARACTER type-statements
- DATA statement
- FORMAT statement
- Statement function statement
'
[Contents] [Previous] [Next]
This document was translated by troff2html v0.21 on August 16, 1995.