Exponentiation with infix operators in (or operating on) the base: Difference between revisions
Exponentiation with infix operators in (or operating on) the base (view source)
Revision as of 11:05, 7 November 2020
, 3 years ago→{{header|Phix}}: like Go comment
(Added Go) |
m (→{{header|Phix}}: like Go comment) |
||
Line 178:
=={{header|Phix}}==
Phix has a power() function instead of an infix operator, hence there are only two possible syntaxes, with the obvious outcomes
(Like Go, Phix does not support operator overloading or definition at all.)
<lang Phix>for x=-5 to 5 by 10 do
for p=2 to 3 do
|