EasyManua.ls Logo

Apple IIe - Page 141

Apple IIe
320 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Apple
BASIC
Reference
Guide
141
Example
20
READ
X,
X$
30 PRINT
X$,X
40
END
50
DATA 12,
JONES
]RUN [Ret]
JONES
12
The
preceding
example
contains
a
program
that
has a READ
statement.
At
line
20,
the
variables
X
and
X$
are
assigned
the
values
from
the
DAT A
statement
at
line
50. At
line
30,
the
values
of
the
two
variables
are
displayed.
A READ
statement
can
accept
data
from
a DAT A
statement
that
appears
anywhere
in a
program.
A DAT A
statement
does
not
have
to
precede
the
READ
statement
in
order
to
be
effective.
RECALL
Applesoft
D
Integer
RECALL
is
~ed
to
recover
a
numeric
array
from
cassette
tape
which
previously
was
saved
on
tape
with
the
STORE
statement.
Configuration
RECALL
array
It
is
not
necessary
to
use
the
same
array
variable
name
in
the
['
RECALL
statement
that
was
used
in
the
STORE
statement.
However,
that
array
should
be
dimensioned
with
the
same
number
of
elements
in
the
same
dimensions
as
the
array
that
was
stored.
If
the
array
being
recalled
was
dimensioned
with
fewer
elements
than
the
stored
array,
the
following
error
messge
will
be
displayed:
OUT
OF MEMORY ERROR

Other manuals for Apple IIe

Related product manuals