Short-circuit evaluation: Difference between revisions

m
→‎{{header|REXX}}: used a template for the output section.
m (→‎{{header|REXX}}: added whitespace.)
m (→‎{{header|REXX}}: used a template for the output section.)
Line 3,446:
a: say ' A entered with:' arg(1); return abs( arg(1) // 2) /*1=odd, 0=even */
b: say ' B entered with:' arg(1); return arg(1) < 0 /*1=neg, 0=if not*/</lang>
'''{{out|output''' |text=&nbsp; when using the default inputs:}}
<pre>
B entered with: -2