EasyManua.ls Logo

Apple IIe - Page 88

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...
88
Apple lie
Users
Handbook
CLEAR
Applesoft
D
Integer
CLEAR initializes all variables, arrays, and strings
to
zero. CLEAR
also initializes all
DAT
A
pointers,
FOR ...
NEXT
counters, sub-
routine
pointers, etc.
Configuration
CLEAR
CLEAR can be used
anywhere
in
a
program,
but
should
not
be
used in a
subroutine
or
FOR ...
NEXT
loop.
Example
10
A=
10
20
PRINT A
30
CLEAR
40
PRINT A
]RUN [Ret]
10
0
Line
30
sets
variable A
from
10
to
0.
CLR
o
Applesoft
Integer
CLR sets all variables
to
0,
strings
to
null,
and clears any
dimensioned
variables.
Configuration
CLR
CLR
can
only
be used in
the
immediate
mode.

Other manuals for Apple IIe

Related product manuals