EasyManua.ls Logo

Atari 800

Atari 800
326 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
242
User's
Handbook
to
the Atari 400/ 800
Computers
The
LIST
statement
uses
the
following
configuration
,
LIST
"D#
:
filename"[
,
beginline]
[endline]*
where
0 specifies the device name. #
is
an
optional
parameter
which
specifies the
drive
number.
The filename assigned
to
the
file
is
specified in filename.
beginline
and
endline
are
optional
parameters
which
specify the
first and last
line
numbers to be stored by
LIST.
Ailline
numbers
with
values between
beginline
and
endline
will be stored
as
well.
For example, the
following
LIST
statement
would
save
all
program lines
between
100 and 500 inclusive
on
the diskette in
drive
2
with
the
filename PROGA.BAS:
LIST
"D2:PROGA.BAS", 100, 500
The
LIST
statement
saves
programs in Atari ASCII format. In this
format,
every character
is
assigned
an
ASCII code.
Loading a Program
The
LOAD
statement
is
used to load programs
into
memory
from
diskette
which
were previously saved in
tokenized
format
by the
SAVE
statement.
The
LOAD
statement
uses
the same
format
as
the
SAVE
statement.
The
following
LOAD
statement
would
load
PROGA.BAS
from
drive
1:
LOAD
"D:PROGA
.BAS"
The
ENTER
statement
is
used to load a
program
previously saved
in
ASCII
format
with
a
LIST
statement. The
following
ENTER
statement
would
load PROGB.BAS
from
drive
1:
ENTER
"D:PROGB.BAS"
*Brackets []
indicate
an
optional
entry.

Other manuals for Atari 800

Related product manuals