Jump to content

Inverted syntax: Difference between revisions

Added Arturo implementation
m (→‎{{header|Phix}}: in fact recreating)
(Added Arturo implementation)
Line 115:
<lang ARM Assembly>STMFD sp!,{r0-r12,lr} ;push r0 thru r12 and the link register
LDMFD sp!,{r0-r12,pc} ;pop r0 thru r12, and the value that was in the link register is popped into the program counter.</lang>
 
=={{header|Arturo}}==
 
<lang rebol>ifStatement: function [block, condition][
if condition -> do block
]
alias.infix {??} 'ifStatement
 
do [
variable: true
[print "Variable is true!"] ?? variable
]</lang>
 
{{out}}
 
<pre>Variable is true!</pre>
 
=={{header|Bracmat}}==
1,532

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.