EasyManuals Logo
Home>Atari>Desktop>800

Atari 800 Basic Reference Manual

Atari 800
122 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
Page #18 background imageLoading...
Page #18 background image
LET (LE.)
LIST (L.)
NEW
REM (R.
or
·'*'491)
10
Commands
Format:
Example:
[LET]
var
=
exp
LET X = 3.142 * 16
LET
X=
2
This
statement
is
optional
in
defining
variables.
It
can
just
as
easily
be
left
out
of
the
statement.
It
may
be
used,
however,
to
set a
variable
name
equal
to
a
value.
Format:
Examples:
LIST
[lineno
[ ,
lineno]
]
LIST [filespec [
,lineno
[
,lineno]
] ]
LIST
LIST
10
LIST
I
101
100
LIST
npn
LIST
11
0:
DEt10.
LST"
This
command
causes
the
computer
to
display
the
source
version
of
all
lines
cur-
rently
in
memory
if
the
command
is
entered
without
line
number(s),
or
to
display
a
specified
line
or
lines.
For
example,
LIST 10,100 mi!Im
displays
lines
10
through
100
on
the
screen.
If
the
user
has
not
typed
the
lines
into
the
com-
puter
in
numerical
order,
a LIST
will
automatically
place
them
in
order.
Typing
L.
"P
will
print
the
RAM-resident
program
on
the
printer.
LIST
can
be
used
in
Deferred
mode
as
part
of
an
error
trapping
routine
(See
TRAP
in
Section
4).
The
LIST
command
is
also
used
in
recording
programs
on
cassette
tape.
The
sec-
ond
format
is
used
and
a
filespec
is
entered.
(See
Section
5
for
more
details
on
peripheral
devices.)
If
the
entire
program
is
to
be
listed
on
tape,
no
line
numbers
need
be
specified.
Example:
LIST
"C1"
1000 LIST
"C1"
Format:
NEW
Example:
NEW
This
command
erases
the
program
stored
in
RAM.
Therefore,
before
typing
NEW,
either
SAVE
or
CSAVE
any
programs
to
be
recovered
and
used
later.
NEW
clears
BASIC's
internal
symbol
table
so
that
no
arrays
(See Section
8)
or
strings
(See
Section
7)
are
defined.
Used
in
Direct
mode.
Format:
REM
text
Example:
10
REM
ROUTINE
TO
CALCULATE X
This
command
and
the
text
following
it
are
for
the
user's
information
only.
It
is
ignored
by
the
computer.
However,
it
is
included
in
a LIST
along
with
the
other
numbered
lines.
Any
statement
on
the
same
numbered
line
which
occurs
after
a
REM
statement
will
be
ignored.

Table of Contents

Other manuals for Atari 800

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Atari 800 and is the answer not in the manual?

Atari 800 Specifications

General IconGeneral
BrandAtari
Model800
CategoryDesktop
LanguageEnglish

Related product manuals