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.
14 lines
196 B
FortranFixed
14 lines
196 B
FortranFixed
C NOT AN I704 LISTING
|
|
COMMON N
|
|
N = 3
|
|
DO 10 I = 1, N
|
|
CALL SET
|
|
10 CONTINUE
|
|
STOP
|
|
END
|
|
SUBROUTINE SET
|
|
COMMON N
|
|
N = 9
|
|
RETURN
|
|
END
|