C28-6003 lists 32 statements and marks the subroutine tables as FORTRAN II only. --std=1 now compiles the subset the manual describes and names CALL, RETURN, SUBROUTINE, FUNCTION, COMMON, and END(...) as absent from FORTRAN I. A bare END still closes the one program. Statement functions stay unimplemented, because chapter 3 defines them. The 2026-11-11 search of i704 still found no system tape, so there is still no FORTRAN DO / IF / FORMAT listing. Expected files remain this runtime's stdout.
12 lines
276 B
FortranFixed
12 lines
276 B
FortranFixed
C THIS RUNTIME. NOT AN I704 FORTRAN PRINTOUT.
|
|
C FORTRAN I, FORM C28-6003. DO, ARITHMETIC IF, AND FORMAT.
|
|
ISUM = 0
|
|
DO 10 I = 1, 5
|
|
IF (I - 3) 10, 20, 10
|
|
20 ISUM = ISUM + 1
|
|
10 CONTINUE
|
|
PRINT 1, ISUM
|
|
1 FORMAT(1H ,I5)
|
|
STOP
|
|
END
|