Operator precedence: Difference between revisions
Content deleted Content added
OCaml: update link |
Jazzedpineda (talk | contribs) Add Plain English |
||
Line 2,084: | Line 2,084: | ||
| lowest || || || |
| lowest || || || |
||
|} |
|} |
||
=={{header|Plain English}}== |
|||
Plain English treats an expression if it contains the operators 'plus', 'minus', 'times', 'divided by', or 'then'. Arguments in expressions are passed in by reference. Expressions are evaluated from left to right, ignoring traditional precedence rules. |
|||
For example, when evaluating 2 + 3 * 4, Plain english will calculate (2 + 3) * 4, and not 2 + (3 * 4). |
|||
=={{header|PureBasic}}== |
=={{header|PureBasic}}== |