Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
calculate_functors [2026/07/29 13:42]
hermann
calculate_functors [2026/08/21 01:03] (current)
hermann [1. General Operators]
Line 194: Line 194:
 ^ Precedence ^ Operator ^ Syntax ^ Description ^ Example ^ ^ Precedence ^ Operator ^ Syntax ^ Description ^ Example ^
 | 1 | **Conditional** | ''​if EXPR then EXPR else EXPR''​ | Evaluates to the second expression if the condition is true, otherwise the third. Can be nested. | ''​if i1 > 0 then i1 else 0''​ | | 1 | **Conditional** | ''​if EXPR then EXPR else EXPR''​ | Evaluates to the second expression if the condition is true, otherwise the third. Can be nested. | ''​if i1 > 0 then i1 else 0''​ |
-| 2 | **Boolean Or** | ''​EXPR or EXPR''​ / ''​EXPR ​&#​124;&#​124; ​EXPR''​ | True if either argument is true. **Short-circuit evaluated** — the right side is skipped if the left is already true. | ''​isNull(i1) ​&#​124;&#​124; ​i1 > 100''​ |+| 2 | **Boolean Or** | ''​EXPR or EXPR''​ / ''​EXPR ​|| EXPR''​ | True if either argument is true. **Short-circuit evaluated** — the right side is skipped if the left is already true. | ''​isNull(i1) ​|| i1 > 100''​ |
 | 2 | **Boolean And** | ''​EXPR and EXPR''​ / ''​EXPR && EXPR''​ | True only if both arguments are true. **Short-circuit evaluated** — the right side is skipped if the left is already false. | ''​not isNull(i1) and i1 > 0''​ | | 2 | **Boolean And** | ''​EXPR and EXPR''​ / ''​EXPR && EXPR''​ | True only if both arguments are true. **Short-circuit evaluated** — the right side is skipped if the left is already false. | ''​not isNull(i1) and i1 > 0''​ |
 | 3 | **Equal** | ''​EXPR = EXPR''​ / ''​EXPR == EXPR''​ | True if both sides are equal. | ''​i1 == 2''​ | | 3 | **Equal** | ''​EXPR = EXPR''​ / ''​EXPR == EXPR''​ | True if both sides are equal. | ''​i1 == 2''​ |