EasyManuals Logo

Atari XL User Manual

Atari XL
262 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 #58 background imageLoading...
Page #58 background image
48 The
Atari
XL
Handbook
30
PRINT
" " + + +SELECT
OPTION":REM
REVERSED TEXT
40 PRINT
"
.J,RED"
50
PRINT
" +
YELLOW"
60
PRINT
" +BLUE"
70
GET#l,KEY
80
IF
KEY=ASC("R")
THEN
SETCOLOR
2,3,6
90
IF
KEY=ASC("Y")
THEN
SETCOLOR
2,2,8
100
IF
KEY=ASC(
"B")
THEN
SETCOLOR
2,9,4
110
GOTO
30
This
kind
of
menu
is
useful
in
many
types
of
program
when
asking
the
program
user
to
make
simple
decisions
and
selections.
The
program
is
made
extremely
easy
to
use
as
keystrokes
are
reduced
to a
minimum.
MORE
ABOUT
PRINTING
So
far,
we
have
described
the
use
of
PRINT
(or
?)
simply
to
display
single
i
terns
of
data
on
the
screen.
The
Atari
has
a
number
of
extra
facilities
which
allow
you
to
control
the
screen
layout
and
produce
clear
and
orderly
output
from
programs.
Punctuating
PRINT
Statements
You
can
PRINT
more
than
one
item
on
a
single
line
by
including
'punctuation'
in
the
PRINT
command.
You
can
use
commas
to
separate
the
items,
in
a
PRINT
statement,
and
the
effect
is
rather
like
the
'tab'
function
of
a
typewriter.
Output
on
the
screen
is
formatted
at
every
tenth
column.
For
example:
PRINT
"A","B","C","D"

Questions and Answers:

Question and Answer IconNeed help?

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

Atari XL Specifications

General IconGeneral
Release Year1983
CPUMOS Technology 6502C
GraphicsANTIC, GTIA
SoundPOKEY (4 channels)
StorageCassette tape
PortsCartridge
Operating SystemAtari BASIC
CPU Speed1.79 MHz
RAM64 KB

Related product manuals