EasyManua.ls Logo

Sharp MZ-700 - Input

Sharp MZ-700
109 pages
Print Icon
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...
INPUT # (Input)
Reads out data from BSO file.
Format:
INPUT # <logical
number>,<variable>,<variable>,
.....
Abbreviated form:
1.#
Explanation:
47
Reads out data in sequence from heading of file opened for read-out by ROPEN #
statement and
is
set to
<variable>.
<variable>
may be array element.
The file which reads out the data becomes the file set to <logical number>
by
ROPEN # statement.
In the same way as for
READ
-
DATA
statements, error
is
generated if data and
<variable>
data type do not coincide.
The end
of
the file data can be determined by the
EOF
function.
However, for FD device only.
Example:
1 0
ROPEN
#2,
"DATA"
20
I NP UT
#2,A,B,C
30
PRI
NT
A,B,C
40
CLOSE
#2
50
END
..... Reads out numerical data from BSD file opened for read-out by logical number 2,
and substitutes to numerical variables A,
Band
C.
References:
ROPEN # (page 46)
CLOSE # (page 53)
EOF
(#)
(page 56)

Other manuals for Sharp MZ-700

Related product manuals