EasyManuals Logo

Atari 800 User Manual

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
Page #174 background imageLoading...
Page #174 background image
172 User's
Handbook
to the Atari 4001800 Computers
EXAMPLE
RESTORE
100
The previous example contains a statement that moves
the
data
pointer
to
the DATA statement
at
line
100
. If line
100
is
not
a
DATA
statement, the data
pointer
is
moved to the next DATA
statement after
line
100.
RETURN
(RET.)
A
RETURN
statement
is
used to branch a program back
to
the
line
where the last
subroutine
was
called.
CONFIGURATION
RETURN
A
subroutine
is
called
with
a GOSUB
or
ON
/ GOSUB statement.
When the
subroutine
has
been
completed,
a
RETURN
statement
causes the
program
control
to
return to the statement
following
the
most recently executed GOSUB
or
ON
/ GOSUB statement.
EXAMPLE
RETURN
When
a
POP
statement
is
executed
before
a RETURN statement,
the
most recent GOSUB statement
is
ignored
, and the program
control
is
branched to the next most recent GOSUB statement.
RND
The RND
function
is
used
to
generate
random
numbers.
CONFIGURATION
X = RND(a)
The
argument
of
a RND statement
has
no
effect
on
the results,
but
it
is
necessary. The value
of
the
random
number
is
less
than 1
and greater than
or
equal
to
zero.

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
ProcessorMOS Technology 6502
Processor Speed1.79 MHz
ROM10 KB
GraphicsANTIC and GTIA chips
Release Year1979
Display Resolutionup to 320 x 192
Colors128 colors
Sound4 channels
StorageCartridge, cassette, floppy disk
PortsCartridge, serial, monitor
Operating SystemAtari OS

Related product manuals