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.
6 lines
144 B
FortranFixed
6 lines
144 B
FortranFixed
C A FUNCTION SUBPROGRAM IS FORTRAN II. A STATEMENT FUNCTION IS NOT THIS.
|
|
FUNCTION TWICE(Z)
|
|
TWICE = Z + Z
|
|
RETURN
|
|
END
|