Sharp PC-1403 Operation Manual page 156

Hide thumbs Also See for PC-1403:
Table of Contents

Advertisement

150
This
statement transfers the
contents
of
the
tape
file "0-2"
to variables D through Z
and to A(27) and
beyond.
INPUT# A(10)*
(without DIM declaration)
This statement
transfers
the data
of
the first file found after the tape was
started,
to
the
variables
A(10) and beyond (to
J
through Zand A(27) and
beyond).
Notes: 1. If an array named A is already defined by the DIM statement, it is not
possible
to
define
subscripted fixed variables in the form of A( ).
This statement transfers data
from the
cassette file named "DATA1" to the
variables A, B, X, and Y in that
order.
To
fill
all the available fixed
variables
and,
if defined, the extended variables
(A(27) and
beyond)
with data transferred
from
tape, specify the first variable with
an
asterisk (*) subscripted to it.
INPUT #
"D-2";
D*
The
following variable types can be specified
in
the
INPUT#
statement:
(1) Fixed
variables-A,
B, C, A(7),
D*, A(20)*,
etc.
(2)
Simple variables-AA, 83,
CP$, etc.
·
(3)
Array
variables-S(*),
HP(*),
K${*),
etc.
1) Transferring data to fixed
variables
To
transfer data from tape to fixed
variables,
specify the variable
names in
the
INPUT
# statement.
INPUT#
"DATA
1" ;
A, B,
X,
Y
Use and Examples
IQ!ii.t.Mi
The
INPUT#
verb is used to
enter
values from the cassette tape.
Abbreviations:
I.
#, IN.
#,
INP.
#,
INPU. #
See
also:
INPUT,
PRINT#,
READ
1 INPUT
# var list
2
INPUT
# "filename"; var list
is:
variable
or:
variable,
var
list
Where:
var
list
Verbs
INPUT#

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents