EasyManua.ls Logo

IBM 1620 User Manual

IBM 1620
111 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #16 background imageLoading...
Page #16 background image
Subscripts
16
or
ID
=
IR
t.'
IT
or,
better
yet
IDIST
=
IRATE
*
ITIME
Variables
can
be
written
in
a
meaningful
manner
by
using
an
initial charactel
to
indicate
whether
the
variable
is fixed
point
or
floating
paint
and
by
using
succeeding characters as
an
aid
to memory.
Another aid to
programming
FORTRAN
is
to vary
the
last
character
of a variable
name.
For
example, to
compute
four different quantities called
HRS,
you could use
the
following:
HRS 1
HRS 2
HRS
.3
HRS 4
If
the
values
of
these variables were in fixed point, you could
precede
each
of
these names
by
I,
J,
K,
L, M, or
N.
The
rules for
naming
and
forming variables
and
constants
might
be
easier to
understand
if you know
how
the
processor uses
the
names
that
you assign.
When
you
establish a
name
for a
constant
or
variable,
the
processor establishes for
the
object
program
a specific location in storage
that
will contain
the
data
that
you
have
named.
Whenever
this
name
appears in
the
object program, you are, in effect,
telling
the
program
to go to
the
position in core storage
where
the
data, repre-
sented
by
its name,
is
stored, in
order
to perform a calculation
with
the
data.
Thus,
each
constant
and
variable
that
you use is assigned a location in 1620
storage
where
its value
is
located. Therefore
it
is
important
that
you remember:
l.
When
you are forming a constant, do
not
use more
than
4 digits
if
it
is
a
fixed
point
number,
and
be
certain to use a decimal
if
it
is
a floating point
number.
2.
When
you are
naming
a variable, use one of
the
letters I
through
N as
the
first
character
if
the
value
is
a fixed point
number,
and
do
not
use
the
letters
I
through
N
if
it
is a floating
point
number.
3.
Do
not
assign
the
same
name
to more
than
one
variable.
4.
Be certain
that
data
is
in
the
same
mode
(fixed
point
or
floating
point)
as its variable
name
indicates it should be.
Variables
in
your
program
can
be
subscripted
so
that
you
can
represent
many
quantities
with
one
variable name.
In
an
earlier example, four different quantities
called
HRS
were
named
HRS
1,
HRS
2,
HRS
3,
and
HRS
4.
If
a
program
contained 50
quantities for
HRS,
it
would
be
cumbersome
and
time consuming to
name
all of
them
in
this manner.
A
group
of 50 such
quantities
can
be
referred
to as
an
"array." Rather
than
name
all 50 quantities
in
the
array,
it
is
much
easier to
refer
to
the
entire array
by
one
name
and
refer to
each
individual
quantity
(element)
in
the
array
in
terms of
its place
in
the
array.

Other manuals for IBM 1620

Question and Answer IconNeed help?

Do you have a question about the IBM 1620 and is the answer not in the manual?

IBM 1620 Specifications

General IconGeneral
CategoryDesktop
ManufacturerIBM
Model1620
Introduced1959
WeightApproximately 1, 000 pounds
Memory20, 000 to 60, 000 digits
ProgrammingFORTRAN, Symbolic Programming System (SPS)
CPUDecimal, variable word length
StorageMagnetic disk drive (IBM 1311)

Summary

Introduction to IBM FORTRAN

Writing the 1620 FORTRAN Program

Floating Point Arithmetic Explained

Details floating point arithmetic, mantissa, and exponent representation.

FORTRAN Constants: Definition and Types

Defines constants and explains fixed and floating point constant formats.

FORTRAN Variables: Definition and Naming

Explains variables, their distinction from constants, and naming conventions.

FORTRAN Subscripts and Arrays

Explains subscripts for referencing array elements and defining arrays.

Arithmetic Statements

Describes how numerical calculations are defined using arithmetic statements.

FORTRAN Expressions: Structure and Operations

Defines expressions and lists the basic FORTRAN operation symbols.

Control Statements

Explains control statements that provide flexibility in program development.

Unconditional GO TO Statement

Describes the unconditional GO TO statement for transferring program execution.

Computed GO TO Statement

Explains the computed GO TO statement for conditional transfers.

IF Statement for Conditional Logic

Details the IF statement for transferring program flow based on expression values.

DO Statement for Looping Constructs

Explains the DO statement for simplifying loop programming and providing flexibility.

Nested DO Statements and Rules

Explains the rules for nesting DO statements within other DO statements.

Input/Output Statements

Explains statements used to read data into programs and output results.

READ Statement for Card Input

Details the READ statement for inputting data from punched cards.

PRINT Statement for Printer Output

Explains the PRINT statement for outputting data to the 1443 Printer.

FORTRAN Specification Statements

Introduces specification statements, including FORMAT and DIMENSION.

FORMAT Statement for Data Conversion

Explains the FORMAT statement for controlling input/output data conversion.

FORMAT Statement Output Specifications

Explains I (Integer) and F (Floating Point) conversion for output.

DIMENSION Statement

Explains the DIMENSION statement for allocating storage for arrays.

Operating Principles

Producing the Object Program

Explains the fundamental steps for creating the object program from source code.

Loading the FORTRAN Compiler

Explains the procedures for loading the compiler program deck or tape.

Compiling the FORTRAN Source Program

Describes how to initiate compilation of the FORTRAN source program.

Loading FORTRAN Subroutines

Explains how to load subroutine decks or tapes after source program compilation.

Executing the Object Program

Details the procedures for loading and executing the compiled FORTRAN object program.

Using the Trace Feature for Debugging

Explains how to use the trace feature to monitor program flow and check correctness.

Analysis of the FORTRAN Program

FORTRAN Subroutines: Overview and Classification

Introduces FORTRAN subroutines, their types, and available sets.

Error Analysis of FORTRAN Subroutines

Discusses errors, their codes, and FAC values for FORTRAN subroutines.

FORTRAN Subroutine Error Checks and Codes

Lists subroutine error checks, error codes, and FAC values for error conditions.

Processor

Storage Allocation

The FORTRAN Pre-Compiler Program

Operation of the FORTRAN Pre-Compiler

Explains the two-phase operation: Error Analysis and Final Program Summary.

Pre-Compiler Error Code Categories

Categorizes the common errors detected by the Pre-Compiler program.

Error Analysis Phase

Program Switch Settings

Loading the FORTRAN Pre-Compiler Program

Details the steps required to load the FORTRAN Pre-Compiler program.

Processing the Source Program with Pre-Compiler

Explains how to process the source program using the Pre-Compiler.

Appendix A - Summary of 1620 FORTRAN Statements

DIMENSION Statement Summary

Summarizes the DIMENSION statement for array declaration.

DO Statement Summary

Summarizes the DO statement for loop control.

FORMAT Statement Summary

Summarizes the FORMAT statement for data conversion.

IF Statement Summary

Summarizes the IF statement for conditional logic.

PRINT Statement Summary

Summarizes the PRINT statement for printer output.

READ Statement Summary

Summarizes the READ statement for card input.

Summary of 1620 Operating Principles

Card Input

Covers the process of inputting data via punched cards.

IBM 1622 Card Read Punch Overview

Provides an overview of the IBM 1622 Card Read Punch.

IBM 1443 Printer Overview

Provides an overview of the IBM 1443 printer.

1443 Printer Keys, Lights, and Switches

Details the keys, lights, and switches for operating the 1443 printer.

1443 Printer Start Key Operation

Explains the operation of the 1443 printer's start key.

1443 Printer Stop Key Operation

Details the operation of the 1443 printer's stop key.

1443 Printer Ready Light

Explains the function of the 1443 printer's ready light.

1443 Printer Sync Check Light

Describes the 1443 printer's sync check light and error conditions.

1443 Printer Parity Check Light

Explains the 1443 printer's parity check light indicator.

1443 Printer Manual Controls

Details the manual controls for operating the 1443 printer.

Related product manuals