EasyManuals Logo

IBM 5100 Basic Reference Manual

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
Page #78 background imageLoading...
Page #78 background image
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

Questions and Answers:

Question and Answer IconNeed help?

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

IBM 5100 Specifications

General IconGeneral
Release Year1975
RAM16 KB - 64 KB
Storage204 KB tape drive
Display5-inch CRT
Operating SystemAPL/BASIC
ProcessorIBM PALM (1.9 MHz)

Related product manuals