Files
Eremey Valetov 720f65ad81 Accept the 1954 EQUIVALENCE sentence and subscript expression.
The 10 November 1954 report shares bare names from the first word and allows a three-term subscript, including one product of two subscripts and one level of subscripted subscript. The later offset form and the seven FORTRAN I subscript forms stay in place for FORTRAN I and II. A DO parameter stays on those seven forms, including a zero addend. The type-1 and type-2 condition is the programmer's rule and is not diagnosed. The relative-constant requirement is not checked, because RELATIVE CONSTANTS is still rejected.

The local i704 tree still has no FORTRAN II system tape.
2026-11-12 12:40:41 -05:00

7 lines
119 B
FortranFixed

C A ZERO FACTOR IS NOT A SUBSCRIPT.
DIMENSION A(4)
J = 1
A(0 * J + 1) = 1.0
STOP
END