ABB ST语言编程(7)
时间:2025-07-06
时间:2025-07-06
System 800xA Training
13.3.4Precedence
The priority of operators decides the order of evaluation of an expression. Below is asummary of available operators, in descending priority:Operator
(…)
Function (…)
Not,-
value (0 becomes 1, 1 becomes 0) and arithmetical
negation (-).
**
*, / ,mod
+,-
<, >, <=, >=
=, <>
and, &
xor
oring to a power.enthesized expression.
If you are unsure of the evaluation order then use parenthesis to force evaluation ofsub-expressions.
Chapter13-7
上一篇:小学二年级平移练习题