194 User's
Handbook
to
the
Atari
400/800
Computers
The variable name table
is
a table kept by Atari BASIC
of
all
variable
and array names used in a
program
regardless
of
whether
the
program
was
entered in
the
imm
ediate
or
the
program
mode.
When
the
CSAVE
or
SAVE
statements are used
to
save a BASIC
program,
the
variable name table
is
recorded
with
the
program
lines.
When
CLOAD
and
LOAD
are exec
uted
to
load the
program
lin
es
back
into
RAM,
the variable name table
will
also
be
loaded and
will
replace any existing variable name table in
RAM
.
Conversely,
when
the
LIST
statement
is
executed
to
save a BASIC
program,
the
variable name table
will
not
be saved.
Therefore,
when
the
ENTER
statement
is
executed
to
load the
program
saved by
LIST
back
into
memory
,
no
variable name table
wil
l be
loaded and
the
variable name table
currently
held
in
RAM
will
remain.
When
the BASIC
program
loaded
with
ENTER
is
executed, any variable and array names used in that
program
will
be
added
to
the
variable name tabl
e.
If
programs are
continually
saved and
loaded
with
LIST
and
ENTER
statements, the variable name table may
eventually
become
overcrowded
with
unused variable and array names. It
may
become
necessary
to
clear the variable name table.
This can
be
accomplished by first saving
the
existing
program
in
RAM
using
the
LIST
statement. Next, by
executing
the
NEW
statement,
the
variable name table
(as
well
as
the existing
program
in
RAM)
will
be erased. The
program
can
then
be
loaded back
into
RAM
using the
ENTER
s
tatement
.
As
the
program
is
executed,
variable and array names
will
be
added
to
the
variable name table.
When
either
of
the
following
statements,
CLOAD
ENTER
"c:"
LOAD
"c:"
are executed,
the
following
series
of
events
will
occur.