Exceptions: Difference between revisions

→‎RPL: Add RPL
(Added XPL0 example.)
(→‎RPL: Add RPL)
Line 2,823:
Done
</syntaxhighlight>
 
=={{header|RPL}}==
Basic RPL allows a conditional branching on error:
≪ ‘’’IFERR’’’ '1/0' EVAL ‘’’THEN’’’
<span style="color:red">"Can't divide "</span> ROT →STR + <span style="color:red">" by "</span> + SWAP →STR + ‘’’END’’’
 
=={{header|Ruby}}==
1,150

edits