EasyManua.ls Logo

Commodore VIC-20 - VARIABLES

Commodore VIC-20
308 pages
Print Icon
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...
EXAMPLES:
4-1
results
in
3
100-64
results
in
36
A~B
results
in
the difference
between
the
value
of
the
two
variables.
55-142
results
in
-87
The
minus
can
also
be
used
as a unary
minus;
that
is,
the
minus
sign
preceding
a
negative
number.
EXAMPLES:
-5
-9E4
-B
4
—
2
same
as 4
+
2
c.
Multiplication
(*).
An
asterisk
specifies
that
the
term
on
the
right
is
multiplied
by
the
term
on
the
left.
EXAMPLES:
100*2
results
in
200
50*0
results
in
0
A*X1
R%*14
d.
Division
(I).
The
slash
specifies
that
the
term
on
the
left
is
to
be
divided
by
the
term
on
the
right.
EXAMPLES:
10/2
results
in
5
6400/4
results
in
1600
A/B
4E2/XR
e.
Exponentiation
(
f
)-
The
up
arrow
specifies
that
the
term
on
the
left
is
raised
to
the
power
specified
by
the
term
on
the
right.
If
the
term
on
the
right
is
2,
the
number
on
the
left is
squared;
if
the
term
on
the
right
is
3.
the
number
on
the
left is
cubed,
etc.
The
exponent
can
be
any
number,
variable,
or
expression,
as
long
as
the
exponentiation
yields
a
number
in
the
VIC's
range.
63

Other manuals for Commodore VIC-20

Related product manuals