EasyManua.ls Logo

Atari 800

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
Loading...
Atari
BASIC
Reference Guide 175
SETCOLOR
(SE.)
The SETCOLOR
statement
is
used
to
assign a
color
and
luminance
value
to
the
color
register specified.
CONFIGURATION
SETCOLOR register #,
color,
luminance
The
color
register must range
from
0
to
4 inclusive. The
color
must range
from
0
to
15
inclusive. These values and
their
corresponding
colors are listed in Table 9-3. The
luminance
can
range
from
0 (darkest)
to
14 (brightest).
Each
of
the 5
color
registers
has
a
default
color
and
luminance
value. These
default
values are listed in Table 9-2.
SGN
The
SGN
function
returns a
+1
if
its
argument
is
positive, a -1
if
negative, and a 0
if
zero.
SIN
CONFIGURA
TlON
SGN
(a)
EXAMPLE
100 A = 100
200
X =
SGN
(A)
300
PRINT X
RUN
1
The
SIN
function
returns the sine
of
the angle specified
as
its
argument.
The
argument
will
be
assumed in radians unless a DEG
statement precedes the
SIN statement.

Other manuals for Atari 800

Related product manuals