134 User's
Handbook
to
the
Atari
400
/
800
Computers
LIST
(L.)
CONFIGURATION
[LET]
X = a
X$
a$
EXAMPLES
LET
X =
250
X = Y +
25
The
LIST
statement
is
used
to
display
or
record
information
in the
computer's
memory.
CONFIGURATION
LIST
[device:filespec,][LN][,LN]
The
LIST
statement can be used to
save
a program,
or
part
of
a
program,
on
a disk
or
cassette. The
ENTER
statement
is
the
only
Atari BASIC statement that can recover a program saved
with
LIST.
The
optional
line numbers (LN) indicate the section
of
the
program that
is
to be
saved
. If no line
numbers
are specified, the
entire
program will be saved. If
only
one
line
number
is
specifed,
only
that line
of
the program
is
saved. If
two
line numbers are
specified, those
two
lines are saved along
with
all
the
code
between
those line numbers. If
either
or
both
of
the specified
line
numbers
do
not
appear, the section
of
the program between
those
line numbers
is
saved.
A program
is
saved on a cassette tape
with
the statement
LIST
"C".
Before saving the program, the tape must be
properly
positioned.
When
a
LIST
"c" statement
is
executed, the
tone
sounds
twice
to
remind
the
operator
to
press
PLA
Yand RECORD
on
the Program Recorder,
followed
by
RETURN
on the
keyboard.
DOS must be
booted
before
a
LIST
statement can be used
with
a
disk. A
program
is
saved
on
a disk
with
a statement
of
the
form
LIST
"device:filespec"
followed
by the
appropriate
line
numbers
(if any).