Operator precedence: Difference between revisions
m
→{{header|Arturo}}
(→{{header|Phix}}: added a paragraph for parameter passing, which I'd missed.) |
Drkameleon (talk | contribs) |
||
Line 231:
This works for mathematical expressions too, since they are treated as normal function calls.
<lang rebol>print 2 + 3 * 5 ; 17, same as 2 + (3 * 5)▼
print 3 * 5 + 2 ; 30, same as 3 * (5 + 2)</lang>▼
See [https://arturo-lang.io/documentation/language/#precedence-and-evaluation Arturo documentation].
{{out}}
<pre>17
21</pre>
=={{header|AWK}}==
|