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

7 lines
137 B
FortranFixed

C A FORTRAN 0 DRUM TRANSFER MAY NOT PASS WORD 2048.
A = 1.0
B = 2.0
WRITE DRUM (1, 2048) A, B
STOP
END