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 #81 background imageLoading...
Page #81 background image
Advanced Atari
BASIC
79
The
following
program
illustrates
the
use
of
the
ASC
function:
050
DIM
A$(20)
100
A$ = "JOHN
JOHNSON"
200
PRINT ASC(A$)
300
END
RUN
74
Escape Sequences
in
Strings
Generally,
the
cursor
movement
characters may
not
be
included
within
a string. They may,
however,
be
included
if
they
are
preceded
by the
operator
pressing
the
Escape key.
When
the
Escape
key prefixes a cursor
movement
key,
the
combination
is
known
as
an
escape
sequence.
The
following
program
will
illustrate
the
use
of
an escape
sequence.
100
PRINT
"JOHN-N-JOHNSON"
200
END
RUN
JOHN JOHNSON
In
our
example,
the
symbol-
denotes pressing
ESC
followed
by
CTRL-+. The symbol
- denotes pressing
ESC
followed
by
CTRL-*.
In
our
previous example,
the
cursor
movement
itself
was
accomplished by using
an
escape sequence.
Each
cursor
movement
is
also associated
with
a character
as
shown in
Table4-
1.
By
pressing the
Escap
e key twice
before
the
cursor
movement
key sequence, this character
will
be
output.
This
is
shown in
the
following
program.
100
PRINT"
Ed Ed
Ed
"
200
END
RUN
i t i

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