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 #155 background imageLoading...
Page #155 background image
Atari BASIC Reference
Guide
153
OR
The
OR
statement
is
a logical
operator
that
returns
the
value 1
if
either
One
of
its arguments are true.
An
OR
statement
returns
the
value 0
only
if
both
of
its arguments are false.
CONFIGURA
liON
EX
OR
EX
The
conditions
of
true
and false are represented
by
the values 1
and
0 respectively. The results
of
the
OR
operation
are
represented by the
following
truth
table.
A B A
OR
B
o 0 0
o 1 1
1 0 1
1 1 1
An
OR
statement can have
either
relational
or
algebraic
expressions
for
arguments.
Any
algebraic expression
that
does
not
equal
zero
is
true. An expression
that
equals
zero
is
considered false.
EXAMPLES
5 (true)
3-7 (true)
"DOG"
=
"CAT"
(false)
8<2
(false)
In
the
previous
examples, 5
is
considered
true
because
it
does
not
equal zero. The expression 3-7
is
also
true
because
it
does
not
evaluate
to
zero. The relational expression
"DOG"
=
"CAT"
is
false because
the
stri ng constants are
not
equal. The expression 8
<2
is
also false.

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