Specification Statements - IBM 1620 Manual

Hide thumbs Also See for 1620:
Table of Contents

Advertisement

ACCEPT TAPE Statement
(Paper Tape Input)
PUNCH Statement
(Card Output) .
TYPE Statement
(Typewriter Output)
PRINT Statement
(1443 Printer Output)
PUNCH TAPE Statements
(Paper Tape Output)
Specification Statements
34
This statement is used when input data is to be entered into the program from the
1621 Paper Tape Reader.
Format:
Example:
"ACCEPT TAPE n, List"
where
n
is the statement number of a
FORMAT
statement
and List is a list of the quantities to be entered.
ACCEPT TAPE 48, K, AO)
Paper tape records are read into storage until the complete list is satjc;;fied.
Statements must be terminated by the
EOL
(End of Line) character.
Format:
Example:
"PUNCH n, List"
where
n
is the statement number of a
FORMAT
statement,
and List is a list of the quantities to be punched.
PUNCH 1, A, D, C
PUNCH 2045, rRANS
One or more cards are punched until the complete list has been satisfied.
Format:
Example:
"TYPE n, List"
where
n
is the statement number of a
FORMAT
statement
and List isa list of the quantities to be typed.
The words
TYPE
and
PRINT
are interchangeable, . except in
the printer-oriented system.
TYPE 19, X, Y
One or more lines are typed until the complete list is satisfied.
Format:
Example:
"PRINT n, List"
where
n
is the statement number of a
FORMAT
statement
and List is a list of the quantities to be printed.
PRINT 2, DELTX
One or more lines are printed until the complete list is satisfied.
Format:
Example:
"PUNCH TAPE n, List"
where
n
is the statement number of a
FORMAT
statement
and List is a list of the quantities to be punched.
PUNCH TAPE 4, A, B, C
PUNCH TAPE 100, AVGHR
One or more records are punched until the complete list is satisfied.
There are two types of specification statements,
FORMAT
and
DIMENSION.
The
FORMAT
statement has already been defined as a statement that tells the
FORTRAN
processor the length of each input or output data field, and whether the field
is (or will be) in fixed point or Boating point mode. The
DIMENSION
statement
provides the processor with the information necessary to allocate storage in the
object program for arrays of quantities.
A
DIMENSION
statemen.t does not create instructions in the object program.
Its function is merely to supply information to the processor.

Advertisement

Table of Contents
loading

Table of Contents