Inverted syntax: Difference between revisions
m
→{{header|Arturo}}
Drkameleon (talk | contribs) (Added Arturo implementation) |
Drkameleon (talk | contribs) |
||
Line 117:
=={{header|Arturo}}==
In this case, we can define a reversed if-statement function (taking the block first, then the condition) and then "alias" a new symbol to it, as an infix operator (so that the block actually comes first, in terms of syntax:
<lang rebol>ifStatement: function [block, condition][
|