A Fortran line has columns divided into fields for statement labels, continuation indicators, statement text, and sequence numbers. Each column represents a single character.
The column positions for each field are as follows:
| Field | Column |
|---|---|
| Statement label | 1 through 5 |
| Continuation indicator | 6 |
| Statement | 7 through 72[1] |
| Sequence number | 73 through 80 |
|
[1] Statements can be extended to column 132, if you specify the compiler option EXTEND_SOURCE or specify OPTIONS /EXTEND_SOURCE. | |