Files
Eremey Valetov dd7caf89f6 Accept the 1954 tape and drum formulas, and check an assigned GO TO.
FORTRAN 0 now parses the parenthesized tape and drum statements.
Both tape spellings share one binary record. A drum address is 1..2048
and a transfer may not pass the last word. The read walks the list
once, so a bound stored earlier in that list is the bound that applies.
Section K follows the labeled example rather than the words "opposite"
and "last", which reject it.

An assigned GO TO inside a DO, under FORTRAN I and II, must aim at one
part of the nest or entirely outside it. The local i704 tree still has
no FORTRAN listing.
2026-11-12 16:21:15 -05:00

6 lines
180 B
FortranFixed

C LATER DRUM SUBSCRIPTS START AT 1 AND END AT THE DIMENSION.
DIMENSION A(2, 2, 2)
WRITE DRUM (1, 1) (A(I, J, K), I = 1, 2, J = 2, 2, K = 1, 2)
STOP
END