EasyManuals Logo

Atari 400 User Manual

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

Questions and Answers:

Question and Answer IconNeed help?

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

Atari 400 Specifications

General IconGeneral
ManufacturerAtari
Model400
TypeHome Computer
Release Year1979
CPUMOS Technology 6502
CPU Speed1.79 MHz
ROM10 KB
Operating SystemAtari OS
KeyboardMembrane keyboard
RAM8 KB (expandable to 48 KB)
GraphicsANTIC and GTIA chips
Sound4 channels
DisplayRF output for connection to TV
StorageOptional cassette tape drive or floppy disk drive
PortsCartridge
Display Resolution320x192 (16 colors)

Related product manuals