EQUIVALENCE, COMMON, and a dummy can write an index without naming it. The cell is the one the DO captured, so a statement-function temporary of the same name is not that store, and a scalar extended by an EQUIVALENCE subscript still is when the name writes that cell. A digit 8 or 9 is not octal even when the value is also past 77777.
9 lines
141 B
FortranFixed
9 lines
141 B
FortranFixed
C NOT AN I704 LISTING
|
|
EQUIVALENCE (I, K)
|
|
DO 10 I = 1, 3
|
|
READ 1, K
|
|
1 FORMAT(I5)
|
|
10 CONTINUE
|
|
STOP
|
|
END
|