Short-circuit evaluation: Difference between revisions

m
→‎{{header|REXX}}: fixed a typo, added a dash.
m (→‎{{header|REXX}}: used a template for the output section.)
m (→‎{{header|REXX}}: fixed a typo, added a dash.)
Line 3,430:
language specifications that
<br>short-circuiting is '''not''' supported).
<lang rexx>/*REXX programs demonstrates short-circuitshort─circuit evaluation testing (in an IF statement).*/
parse arg LO HI . /*obtain optional arguments from hethe CL.*/
if LO=='' | LO=="," then LO= -2 /*Not specified? Then use the default.*/
if HI=='' | HI=="," then HI= 2 /* " " " " " " */