It looks like you're new here. If you want to get involved, click one of these buttons!
3 * 3 + 3
(set: $a = 3 * 3 + 3) (set: $b = 3 + 3 * 3) $a $bWill show as
18 12Which looks like Harlowe solves math expressions from right to left.
<% $a = 3 * 3 + 3; print($a + "<br>"); $b = 3 + 3 * 3; print($b); %>
12 12Sugercube
<<set $a to 3 * 3 + 3>> <<set $b to 3 + 3 * 3>> $a $b
12 12
Comments
Operator precedence is a standard feature in every language. Why would you want to force parenthesis around every single operation when it's not necessary...?
I was always taught never to leave math open for interpretation.