Radio Shack TRS-80 PC-3 Owner's Manual page 144

Table of Contents

Advertisement

1 INPUT #
2 INPUT # "filename"
3 INPUT # var list
4 INPUT # "filename" ; var list
where: var list
is:
variable
or: variable, var list
Abbreviations: I.
#,
IN. #, INP. #, INPU. L
See also: INPUT, PRINT #, READ
Purpose
The INPUT # verb is used to enter one or more values from the cassette tape.
Use
PRINT # saves the values of variables on tape. They can then be read back into the same or another program using the INPUT#
verb.
With the first form, the values are read from the tape and assigned to the 26 preallocated storage locations. They can be used by
referring to variables A
~
Z and A$
~
Z$, as appropriate.
With the second form, the tape is searched for the indicated filename and the variables are loaded, as in the first form.
144

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents