EasyManuals Logo

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 #48 background imageLoading...
Page #48 background image
40
Str
in
gs
String
Comparisons
and
Sorts
In
string
comparisons,
the
logical
operators
are
used
exactly
the
way
they
are
with
numbers.
The
second
program
in
Appendix
His
a
simple
example
of
bub-
ble
sort.
In
using
logical
operators,
remember
that
each
letter,
number,
and
sy
mbol
is
assigned
an
ATASCII
code
number.
A
few
general
rules
apply
to
these
codes:
1.
AT
ASCII
codes
for
numbers
are
sized
in
order
of
the
numbers'
real
values
and
are
always
lower
than
the
codes
for
letters
(see
Appendix
C).
2.
Upper
case
letters
have
lower
numerical
values
than
the
lower
case let-
ters.
To
obtain
the
AT
ASCII code
for
a
lower
case
letter
if
you
know
th
e
upper
case value,
add
32
to
the
upper
case code.
Note:
Atari
BASIC's
memory
management
system
moves
strings
around
in
memory
to
make
room
for
new
statements.
This
causes
the
string
address
to
vary
if
a
program
is
modified
or
Direct
mode
is
used.

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
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