In fixed-form FORTRAN 77, what does a non-blank, non-zero character in column 6 of a line mean?
In fixed-form FORTRAN 77, what does a non-blank, non-zero character in column 6 of a line mean?
In fixed-form FORTRAN 77, what does a non-blank, non-zero character in column 6 of a line mean?
It marks the line as a continuation line: the rest of that line (columns 7-72) is treated as a continuation of the statement begun on the preceding non-comment line, as if column 7 followed immediately after column 72 of the previous line.
This follows from how the standard fixed-form columns are assigned:
In column 6 specifically:
Constraints that go with this:
Example (the + in column 6 of the second line is the continuation marker):
C234567
X = A + B +
+ C + D
Here both physical lines form the single statement X = A + B + C + D.</answer>
Sources: