Files
Eremey Valetov 104dfe29ec Run tape and drum I/O in memory, and record the missing system tape.
The 1956 statements now move BCD and binary records for the whole
program. A format that runs out of fields reads the next record, and a
slash only finishes the record in hand. A binary word read into a real
name is written back as the same word. A SHARE tape image is still on
the network and was not booted here, so there is still no FORTRAN
DO / IF / FORMAT listing. Expected files remain this runtime's stdout.
2026-11-10 18:33:04 -05:00

16 lines
306 B
FortranFixed

C BACKSPACE TRUNCATES THE TAPE. NOT AN I704 FORTRAN PRINTOUT.
I = 1
J = 2
K = 3
WRITE TAPE 1, I
WRITE TAPE 1, J
BACKSPACE 1
WRITE TAPE 1, K
REWIND 1
READ TAPE 1, I
READ TAPE 1, J
PRINT 1, I, J
1 FORMAT(1H ,2I5)
STOP
END