7 EXECUTABLE AND NONEXECUTABLE STATEMENT CLASSIFICATION

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.

7.1 Executable Statements

The following statements are classified as executable:
  1. Arithmetic, logical, statement label (ASSIGN), and character assignment statements
  2. Unconditional GO TO, assigned GO TO, and computed GO TO statements
  3. Arithmetic IF and logical IF statements
  4. Block IF, ELSE IF, ELSE, and END IF statements
  5. CONTINUE statement
  6. STOP and PAUSE statements
  7. DO statement
  8. READ, WRITE, and PRINT statements
  9. REWIND, BACKSPACE, ENDFILE, OPEN, CLOSE, and INQUIRE statements
  10. CALL and RETURN statements
  11. END statement

7.2 Nonexecutable Statements

The following statements are classified as nonexecutable:
  1. PROGRAM, FUNCTION, SUBROUTINE, ENTRY, and BLOCK DATA statements
  2. DIMENSION, COMMON, EQUIVALENCE, IMPLICIT, PARAMETER, EXTERNAL, INTRINSIC, and SAVE statements
  3. INTEGER, REAL, DOUBLE PRECISION, COMPLEX, LOGICAL, and CHARACTER type-statements
  4. DATA statement
  5. FORMAT statement
  6. Statement function statement

'




[Contents] [Previous] [Next]
This document was translated by troff2html v0.21 on August 16, 1995.