1C:Enterprise script expression calculation priorities
This table provides the list of 1C:Enterprise script operators in the order of ascending priority. Operators with identical priorities are calculated from left to right.
Operator | Description |
OR | Logical addition |
AND | Logical multiplication |
NOT | Logical negation |
<, <=, =, >=, >, <> | Comparison |
+, - | Addition, subtraction |
*, /, % | Multiplication, division |
-, + | Unary minus and plus |
., () | Dereferencing, method call, and so on. |
To avoid ambiguities and ensure the correct order of operator execution, use parentheses.