Atari DOS 2.5: XF551 Owner's Manual page 75

Atari dos 2.5 disk drive
Table of Contents

Advertisement

This command causes
the
computer system
to
save
a program
on
diskette
with the filespec
name designated
in
the
command
.
SAVE
is the complement of
LOAD
and
stores programs
in
to-
kenized
form
.
LIST (L.)
Formats:
LI
ST
filespec ,Iineno
,!ineno
device
Exa
mpl
es:
LIST
"D: DATFIL
.
LST"
LIST "P:"
LI:3T "p:
",
10~
100
One use of
the
LIST
command in BASIC is very similar to
the
SAVE command
:
it
can
take a program from user program RAM
and
store
it on a
particular drive
with any name you
want to
as-
sign it (illustrated
by
the first example)
. However,
the
program is
stored in standard ATASCII
text
and
not
as
tokens.
Differences in
the
formatting of data
storage also allow
LIST to
be
much
more
flexible than SAVE
.
As
shown in
the
above
format examples
,
you
can specify a single
device
(e.g.
,
P:
, E:, C:, D:,
D2:,
etc.),
or you
can specify !ine numbers
to be
listed
to
a designated device
(e.g., "
P:
"
,
100,
200).
ENTER (E,)
Fo
rmat
: ENTER filespec
Exa
mpl
e:
nnER
"D:
LIST2
.
LST"
This command
causes
the
computer
to move
a file on diskette
with
the
referenced
filespec
into
RAM
.
The program
is entered in
untokenized form
and is
interpreted
as the
data is received. EN·
TER
,
unlike
LOAD,
will
not destroy a RAM-resident BASIC pro-
gram, but
will
merge the RAM-resident program
and
the
disk file
being loaded.
If
there
are duplicate
line numbers
in the
two
pro-
grams,
the
line
in
the
program
being entered
will
replace the
same
line
in
the RAM-resident program
.
65

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xf551

Table of Contents