1.5.1 Fixed-Format Lines

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 
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.

Note
If you use the sequence number field, do not use tabs anywhere in the source line, or the compiler may interpret the sequence numbers as part of the statement field in your program.

For More Information:


Previous Page Next Page Table of Contents