Specifications

VAL
The
VAL
function
changes the numbers in a character variable
into
a numerical value.
Format: VAL (character variable)
Since this
function
changes the numbers in the character variable
into
a numerical value,
when there
are
no numbers in the character variable (for example,
"ABC"),
an
error
will
occur.
Example:
If
Z$=
"78963",
VAL
(Z$)
=78963
Note: When this
function
is
used
in a program and
an
error occurs
as
a result
of
lacking
numbers in the data,
'IE
RR
2"
will
be
displayed
but
not
the program
area
and
line number.
5-6-15 Memory Clear
VAC
The
VAC
command clears the data in all variables.
It
makes numerical variables
"0
...
·and
makes
character variables
"null".
This command
can
be
used
by
writing
it
in a program
or
manually. Therefore, when you
want
to
clear all data
prior
to
executing a program,
input
VAC
at the beginning
of
the
program.
Example: Writing in the program
10
VAC
Manual execution
VAC
III
5-6-16
Program
Clear
Clear command
A
CLEAR
command
is
used
to
clear a program which
has
been
written.
It
is
executed
manually
in the
"WRT"
mode.
Format:
CLEAR
CLEAR
A
A
"CLEAR"
command
only
clears the program in the currently designated program
area
(P0,
Pl,
etc.) A
"CLEAR
A"
command clears all programs in all program
areas
from P0 through
P9.
-57-