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

Table of Contents

Advertisement

With the third form, the indicated variables are stored on the tape, starting at the current location.
With the fourth form, indicated variables are stored on the tape under the designated filename.
There is a special variable form which may be used in the variable list. It looks like an array variable, except that an asterisk is
enclosed in the parentheses, e.g., B(*) or F$(*).
This form causes all values of the indicated variable to be saved on the tape,
including the simple variable of the same name, i.e., B(*) saves Band B(0), B(1), B(2), etc., for as many values as are in the array.
You may not save a single element of an array.
Examples
10 PRINT
#
A, B, C
20 PRINT
#
"FIL2" ; D, E, F
30 PRINT
#
"FIL3" ; G(*)
Saves three values on the tape at the current position.
Saves three values on the tape under the filename "F IL2".
Saves G and all values of G( ) on the tape under the filename "FI L3".
Note:
A variable above A(27), or a dimensional variable, must be secured into the program/data area before the PRINT
#
command is
executed. If the variable is not designated before the PRINT
#
command, an error (ERROR 3) will result.
159

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents