Users Manual User Manual

Appendix A
205
Operators
The following lists the operators accepted by ASL. Operator precedence is
that same as in C.
Expressions
The expressions consist of one or more Integers, Functions, or Operators. For
more detail about functions see page 229.
Examples:
0x2A and LengthOfF1
(ValueOf(F1)<2) or not (LengthOf(F2)<>10)
(4 + LengthOf(F1))* ValueOf(F2)
Comments
Comments are enclosed in ‘/*’ and ‘*/’ and can span multiple lines.
Examples:
/* This is a single line comment */
/* This
is a multi-line
comment */
Operator Function
( ) Associative
and Logical And
or Logical Or
not Logical Not
> Greater than
< Less than
<> Equal to
=Assignment
+ Arithmetic Addition
- Arithmetic Subtraction
* Arithmetic Multiplication
/ Arithmetic Division