Top: f77
Previous: 12,2 - Tab Next: 13,1 - Directive_Statements
Section 13: Statements
Statements in a Fortran program unit follow a required order. In
the following figure, vertical lines separate statement types that
can be interspersed. For example, DATA statements can be
interspersed with executable statements. Horizontal lines indicate
statement types that cannot be interspersed. For example, type
declaration statements cannot be interspersed with executable
statements.
+-------+--------------------------------------------------------+
| | OPTIONS Statement |
| |--------------------------------------------------------|
| |PROGRAM, FUNCTION, SUBROUTINE, or BLOCK DATA Statements |
| |--------+-----------------------------------------------|
|COMMENT| | IMPLICIT NONE Statement |
| Lines,| |-------------------------------+--------------|
|INCLUDE|NAMELIST,| IMPLICIT Statements | |
| State-| FORMAT, |------+------------------------| PARAMETER |
| ments,| & | | Other Specification | Statements |
|& Gen- | ENTRY | DATA | Statements, | |
| eral | State- |State-| DICTIONARY Statements | |
|Direc- | ments | ments|------------------------+--------------|
| tives | | | Statement Function Definitions |
| | | |---------------------------------------|
| | | | Executable Statements |
|-------+---------+------+---------------------------------------|
| END Statement |
+----------------------------------------------------------------+
Sub-Topics
- Directive_Statements
- Executable_Statements
- Specification_Statements
- ACCEPT
- ASSERT
- ASSIGN
- Assignment
- AUTOMATIC_and_STATIC
- BACKSPACE
- BLOCK_DATA
- CALL
- CLOSE
- COMMON
- CONTINUE
- DATA
- DELETE
- DIMENSION
- DO
- DO_WHILE
- ELSE
- ELSE_IF
- END
- END_DO
- END_MAP
- END_STRUCTURE
- END_UNION
- ENDFILE
- END_IF
- ENTRY
- EQUIVALENCE
- EXTERNAL
- FORMAT
- FUNCTION
- Function_Reference
- GOTO
- IF
- IMPLICIT
- IMPLICIT_NONE
- INCLUDE
- Input_Output
- INQUIRE
- INTRINSIC
- MAP
- NAMELIST
- OPEN
- OPTIONS
- PARAMETER
- PAUSE
- POINTER
- PRINT
- PROGRAM
- READ
- RECORD
- RETURN
- REWIND
- REWRITE
- SAVE
- Statement_Function
- STOP
- STRUCTURE
- SUBROUTINE
- TYPE
- Type_declaration
- UNION
- UNLOCK
- VOLATILE
- WRITE
Top: f77
Previous: 12,2 - Tab Next: 13,1 - Directive_Statements