Sharp PC-1403 Operation Manual page 142

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

Advertisement

136
Frees the
space
assigned to
C( )
and
resets
A
to
zero.
10
A=5:
DIM C(5)
20 CLEAR
Examples
.,.
The
CLEAR verb
recovers
space which
is
being used to store
variables.
This
might be
done
when the variables
used
in
the first part of
a
program
are
not
required in the second
part and availables space
is limited.
CLEAR
may
also
be used at the beginning of
a
program when
several
programs are resident
in
memory and
you
want to clear out the
space
used by execution
of
prior
programs.
CLEAR does not
free
the space
used
by
the
variable
A-Z,
A$-Z$,
or
A(1
)-A(26)
(without
DIM
declaration) since they are permanently assigned (see Chapter
4).
CLEAR
does reset numeric
variables
to zero and
string
variables
to
null.
IQ!H.J.#i
The
CLEAR
verb
is used to
erase
all variables
which have been
used
in
the program
and to
reset
all
preallocated variables
to
zero or null.
Abbreviations: CL., CLE.,
CLEA.
See
also:
DIM
1 CLEAR
Verbs
CLEAR

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents