When expressions are evaluated by the AL compiler, the parsing routines use a predefined precedence hierarchy to determine what operators to evaluate first, what to evaluate second, and so forth. This precedence hierarchy is provided in the Business Central Docs section, C/AL Operators – Operator Hierarchy (https://msdn.microsoft.com/en-us/dynamics-nav/c-al-operators), but for convenience, the information is repeated here:
For complex expressions, we should always freely use parentheses to make sure that the expressions are evaluated the way we intend them to be.