Files
Eremey Valetov 7688495eff Accept the 1956 extended DO range, and add the editor.
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.
2026-11-11 20:46:58 -05:00

15 lines
285 B
FortranFixed

C RETURN FROM INSIDE A DO IN THE OUTSIDE SECTION. THIS RUNTIME.
K = 0
DO 10 I = 1, 2
GO TO 20
10 CONTINUE
GO TO 40
20 DO 30 J = 1, 3
K = K + 1
IF (J - 3) 30, 10, 30
30 CONTINUE
40 PRINT 1, K
1 FORMAT(1H ,I5)
STOP
END