EasyManuals 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 #48 background imageLoading...
Page #48 background image
Processing
the
Source
Statements
field of
the
card
is
four
columns long,
and
that
each
value
has
a
decimal
point
punched
into
the
card.
Statement
6 causes
the
next
card
to
be
read,
and
references
FORMAT
statement
7.
The
card
read
contains
the
first
value
of
x to
be
used
by
the
program.
Statement
101
determines
the
relationship
between
X
and
D
and
determines
which
formula
to
use
in
the
compu
ta
tion
of
f (
x).
If
X - D is
negative
(X
<
D),
the
program
is
transferred
from 101
to
statement
2;
if
X - D is zero
(X
=
D),
the
program
is
transferred
from 101 to state-
ment
3;
if
X - D is
plus
(X
>
D),
the
program
is
transferred
from
101 to
statement
4.
STATEMENT
FORTRAN STATEMENT
I
k
NUMBER
5 6 7
10
15
20
25
30
35
40
45
50
55
FUNC,TION
,01=
X
FR06L
1
EM
1
I
i
I
1~
100
~EAD,
7.,
A
..
8_,C
lDi
1
6
READ
1,X
i
I
I
101
IIF
(
X-D,
)
2
3
.4.
i
i
I
2 FOFX, =
A"X~".2+
B*
x
+C
i
102
GO
T,O
5
1
i
i
3
FOFX, =
o.
1
1
103
k30
T,O
5
I
--.l
,
..L.....-
A
FOFXI
=
-AI"X"*21+B*X-~,
1
,
1
~~~-~~.~
5 PR.I.NIT
I
.X
FO
F)(
,
IDA
G.D
TIO
6
I
1
, ,
,
,
__
.
___
L ,
1
FORM,AT
.C
I,HO
> F
',4.
5 )
F,I/f
S
21
1 1
~
I
-~
:z
FORMLAT
,(
FA-.
01
I I I I
I
------l........
E.ND 1
1
, ,
1
, ,
1
I I
1
1
..1
1
i
1 I I
1.~~~
.
..L........
Statements
2,
3, or 4
are
used
to
determine
the
correct
value
of
f
(x);
i.e.,
FOFX.
Regardless of
which
of
the
three
computations
occurs,
the
program
is always
transferred
to
statement
5.
Statement
5
prints
out
the
values of x
and
f
(x)
and
references
FORMAT
statement
1.
This
FORMAT
specifies
two
14-position fields;
each
field contains five positions to
the
right
of
the
decimal
point.
Statement
104 causes
the
program
to
transfer
to
statement
6
to
read
the
next
value
of
X,
and
the
pattern
continues
until
all
of
the
X
cards
have
been
processed.
The
computer
will
automatically
stop
when
it
attempts
to
execute
the
READ
statement
and
there
are
no
more
cards
in
the
card
reader.
Statement
1
and
7
contain
the
FORMAT
specifications for
the
input
and
output
statements.
The
END
statement
indicates
to
the
processor
that
the
source
pro-
gram
is completed.
The
operating
procedure
for processing a
source
program
is
given
in
OPERATING
PRINCIPLES.
The
information
contained
here
concerns only
the
documentation
that
is
available
as
the
object
program
is
compiled
or
processed.
Writing the 1620
FORTRAN
Program 47

Other manuals for IBM 1620

Questions and Answers:

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)

Related product manuals