Printed page 21 lets control leave a nest and return to the same part. --std=1 and --std=2 keep the index live on that path. A jump that stays inside an outer DO is still a transfer into a DO, and --std=0 rejects every entry. The VS Code extension highlights a fixed-form card and runs the open file. There is still no i704 FORTRAN listing.
13 lines
238 B
FortranFixed
13 lines
238 B
FortranFixed
C EXTENDED RANGE. THIS RUNTIME, NOT AN I704 LISTING.
|
|
K = 0
|
|
DO 10 I = 1, 3
|
|
IF (I - 2) 10, 20, 10
|
|
10 CONTINUE
|
|
GO TO 30
|
|
20 K = K + 1
|
|
GO TO 10
|
|
30 PRINT 1, K
|
|
1 FORMAT(1H ,I5)
|
|
STOP
|
|
END
|