EasyManua.ls Logo

Laser 128 - Expressions and Operators; Arithmetical

Laser 128
255 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...
INTRODUCTION
DIM
BARRA
Y (9) sets
up
a
one-dimensional
array
with
a s
in
g
le
s
ub
s
cript
which
can
range
from
0
to
9.
Thus
it
is
equivalent
to a
table
of
10
entries.
1.6
EXPRESSIONS
AND
OPERATORS
An
expression
can
be a
constant,
or
a
numeric
va
riable,
or
a
string,
or
a
combination
of
vari
ab
les, const
ants,
a
nd
operators
which
work
toge
ther
to
produce
a
s
ingle
value.
There
a
re
four
types
of
opera
tor
s:
arithmetical
logical
rel
at
ional
functional
1.6.1
ARITHMETICAL
OPERA
TORS
The
se
are
the
common
mathem
at
ical
operators,
and
they
are
always
executed
in
a
s
et
order
of
preference
.
They
are
listed
below
in
this
order:
Op
era
tor
Ope
ra
tion
Example
A
Expo
nen
tia
ti
on
A " B
Negation
-A
*
, I
Multiplication,
divi
sion
A*B
+ -
'
Addition,
su
btraction
A
-B
II-6

Table of Contents