Precedence of operators

When expressions are evaluated by the C/AL compiler, the parsing routines use a predefined precedence hierarchy to determine what operators to evaluate first, what to evaluate second, and so forth. That precedence hierarchy is provided in the NAV Developer and IT Pro Help section, C/AL Operators (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 the expressions are evaluated the way we intend.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.148.108.112