precedence | |
Type | glossary |
Dictionary | LCS |
Library | LiveCode Script |
Synonyms | precedence,operator precedence |
Related | Operator: *, + Glossary: evaluate, operator, expression |
Description | The set of rules that determine what order operators are evaluated in, in an expression that has more than one operator. Simplified, the rules for numeric operators are as follows:
For example, the * operator has higher precedence than the + operator, so 2 + 3 * 4 is evaluated as 2 + (3 * 4), not (2 + 3) * 4. |