Aread - Radio Shack PC-2 TRS-80 Owner's Manual

Pc-2 trs-80
Hide thumbs Also See for PC-2 TRS-80:
Table of Contents

Advertisement

AREAD
Assign Display Contents to a Variable
AREAD
name
name
is numeric or character variable
Abbreviations: A. AR EA.
When a definable key (see
(@ )
is used to label and run a program, this statement will assign the Display contents
to the variable name specified after AREAD.
This allows you to input (assign) values to a variables without having to use the INPUT statement. The reading
of the value is performed by AR EAD.
The AREAD statement must directly follow (in the same line) the definable key label.
When you are ready to RUN a program that uses AREAD, simply enter the RUN Mode, type the information
you wish to enter, and press the key combination of the definable key label.
Example

Advertisement

Table of Contents
loading

Table of Contents