Sharp PC-1403 Operation Manual page 169

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

Advertisement

163
PRINT
E,X$,A(30)*
PRINT# "D-2"; D*
This statement
saves
the contents of fixed variables D
through Z (and of extended
variables
A(27) and
beyond, if
defined)
into
the
tape
fi
l e named
"D-2".
This
statement
saves
the
contents of the fixed
variables
E
and
X$
and of the extended
variables A(30)
and
all
the
remaining
variables,
onto the tape without file
name.
Note:
Subscripted fixed variable names A(1) through A(26) can be specified in the
PRINT# statement in
much the
same
way
as A
through
Z
(or
A$
through
Z$).
However
-.
if
array
A
is already
defined
by
the DIM
statement,
A(
)
cannot
be
used
to
define
subscripted
fixed variables.
This statement saves contents
of
variables
A,
B,
X,
and
Y
into
tape
file
named
"DATA
1".
If you
wish to save the contents
of the
specified fixed variable
and all
the
subsequent
fixed
variables, subscript that variable name
with
an
asterisk=,
PRINT# "DATA 1"; A, B, X, Y
The following variable types can be used for variable
names:
(1) Fixed
variables-A, B,
X,
A(26),
C*.
A(10)*,
etc.
(2) Simple variables-AA,
82,
XY$,
etc.
(3) Array
variables-B(*), CD(*),
NS(*).
etc.
1} Saving fixed
variable
contents
onto
tape
The contents
of
fixed variables
can be
saved
onto
tape
by
specifying the
desired
variable names (separated
by commas)
in
the PRINT#
statement.
Use and Examples
IQ!IM{11
The
PRINT
#
verb is used
to
store
values on
the cassette
tape.
Abbreviations:
P.
#,
PR.
#,
PRI.
#,PRIN.
#
See
also:
INPUT
#, PRINT,
READ
1
PRINT
# "var
list"
2
PRINT
#
"filename" ; var list
Where:
var list
is: variable
or:
variable,
var
list
Verbs
PRINT#

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents