Next: , Previous: , Up: Expressions: The Engine of STARTER   [Contents]


2.3.6.4 Mathematical Operators

Boolean operators follow C-like precedence: && binds tighter than ||. So a || b && c means a || (b && c); use parentheses when you want a different grouping.

STARTER isn’t just for logic; it’s for math. It supports +, -, *, /, and the unary minus -. Standard mathematical precedence applies (multiplication/division before addition/subtraction), but you can use parentheses to force your own order.

2 * 1 + 4 = 6
2 * (1 + 4) = 10
time:minute + (time:hour * 60) = Total minutes since midnight.