EasyManua.ls Logo

Apple IIe - Page 56

Apple IIe
320 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...
56
Apple lie Users
Handbook
BASIC
will
evaluate
the
expression
within
the
innermost
set
of
parentheses first,
followed
by
the
next
innermost
set, et
c.
Table 3-1.
Order
of Evaluation
Operator Description
Parentheses
( )
Used
to
alter
order
of
evaluation.
/\
Exponentiation
-
Unary
Minus
Arithmetic
*
Multiplication
Operators I
Division
+
Addition
-
Subtraction
-
Equal To
<:::::..
Not
Equal
To
Relational
"'
Less
Than
Operators
>
Greater Than
<=
Less
Than
or
Equal To
>=
Greater
Than
or
Equal To
Boolean
NOT
Logical
Complement
Operators
AND
Logical
AND
OR
Logical OR
When
expressions have
the
same
order
of
evaluation, they
will
be evaluated
in
order
from
left
to
right
within
the
compound
expression.
Arithmetic Operations
The symbols used
for
addition,
subtraction,
multiplication,
division,
and
exponentiation
are
known
as
arithmetic operators
in BASIC. The symbols
+ and - are used
for
addition
and
subtraction
respectively. The asterik
(*)
is
used
to
indicate
multiplication
,
while
the
slash
(/)
is
used
to
indicate division.

Other manuals for Apple IIe

Related product manuals