4 expression operation – Micromod MOD: 30MLTraining Manual User Manual
Page 176
Advertising

Training Manual
Expression Block Lab
11.4 Expression Operation
Operator precedence in an expression starts with the unary (single operand) operators and
continues with the binary (double operand) operators. The order of evaluation can be
changed using parentheses or the conditional operators. The order of precedence is:
Precedence Operator
1 **
RAISED_TO_THE_POWER
2
SQRT
MOM
!
ABS
EXP
NLOG
LOG
INT
SQUARE_ROOT
MOMENTARY
Logical NOT
ABSOLUTE
EXPONENTIAL
NATURAL_LOG
LOG_10
INTEGER
3
*
/
TIMES
DIVIDE
4
+
–
PLUS
MINUS
5
<
>
<=
>=
LESS_THAN
GREATER_THAN
LESS_THAN_OR_EQUAL
GREATER_THAN_OR_EQUAL
6
==
!=
EQUALS
UNEQUAL
7 && Logical
AND
8
| |
Logical OR
11 - 4
Advertising
This manual is related to the following products: