FORTRAN Statement Format [ HP FORTRAN 77/iX Reference ] MPE/iX 5.0 Documentation
HP FORTRAN 77/iX Reference
FORTRAN Statement Format
A FORTRAN statement has the following general form:
[label] statement
The label identifies a particular statement so that it can be referenced
from another portion of the program. A statement label consists of one
to five digits placed anywhere in columns 1 through 5. Each label must
be unique within a program unit; blanks and leading zeros are ignored by
the compiler. Labels are optional and need not appear in numerical
order.
Examples Notes
99999 Largest label
0300 Identical labels
300
30 0
1 Smallest label
The statement itself is written in columns 7 through 72. If a statement
is too long for one line, it can be continued on the next line. This is
indicated by placing a character other than a zero or a blank in column
6. Columns 1 through 5 of a continuation line are ignored, except that
column 1 cannot contain the character $, C, !, or *. By default, each
statement can have up to 19 continuation lines. If the CONTINUATIONS
compiler directive is specified, each statement can have up to 99
continuation lines.
MPE/iX 5.0 Documentation