ORNL-3460
Contract No. W-7405-eng-26
Mathematics Division
THE OAK RIDGE ALGOL COMPILER FOR THE CONTROL DATA CORPORATION
1604—PRELIMINARY PROGRAMMER’S MANUAL
L. L. Bumgarner
DATE ISSUED
JAN 30 1964
OAK RIDGE NATIONAL LABORATORY
Oak Ridge, Tennessee
operated by
UNION CARBIDE CORPORATION
for the
U.S. ATOMIC ENERGY COMMISSION
CONTENTS
[I. Introduction] 1 [II. Language Restrictions] 2 [III. Modes of Operation of the Compiler] 4 [IV. Input-Output and Intermediate Tape] 5 [Input-Output] 5 [READ] 5 [PAGE] 7 [Lists and the List Declaration] 7 [PRINT] 9 [WRITE] 9 [PUNCH] 10 [Formats and the Format Declaration] 10 [INPUT] 11 [OUTPUT] 12 [Intermediate Tape Procedures] 13 [BINREAD] 13 [BINWRITE] 14 [ENDFILE] 14 [REWIND] 14 [BACKUP] 14 [Tape-Checking Procedures] 14 [EOF] 15 [READERR] 15 [WRITERR] 15 [V. The External Declaration] 16 [VI. Standard Procedures] 16 [VII. Error Checking and Diagnostics] 17 [VIII. Running Programs] 19 [ALGOL Control System] 20 [EOP Card] 20 [Compile and Execute: ALGO] 21 [PROGRAM Card] 22 [Compile/Execute: ALDAP] 22 [ALDAP Control Statement] 22 [Job Deck: ALDAP Compilation/Execution] 23 [Examples] 25 APPENDICES [A. Adjuncts to Algol 60] 30 [B. Hardware Representation] 32 [C. Structure of Procedure Calling Sequence] 35 [D. Internal Representation of Strings] 37 [E. Program Efficiency] 38 [F. Controversial Features of Algol 60] 40 [G. Fortran Subprograms in an Algol Program] 41