EasyManua.ls Logo

IBM 5100

IBM 5100
187 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
Loading...
74
Notes
AtJout
GET
A file currently activated
as
an
output
file cannot be specified in a GET state-
ment.
It
must first be closed,
then
reopened (in an OPEN statement
as
an input
file).
Each value assigned
in
a GET statement must
be
of the same data
type
(arith-
meticor
character) as the corresponding variable.
A GET statement referencing a currently closed file causes program execution
to
be
terminated.
Exampfe
A sample GET statement
is
as
shown:
0090
GET FL4,
X,
V, Z,
114.(4),
A(5),
0$,
EOF 620
Inthis
example, the values
in
file FL4 are assigned, respectively,
to
variables
X.
V,
Z,
the fourth and fifth elements
of
array A, and the character variable
0$.
On
end
of
file. the program branches
to
statement number 620 and closes FL4.

Table of Contents

Other manuals for IBM 5100

Related product manuals