Exception handling syntax: Difference between revisions

Content deleted Content added
Adxp (talk | contribs)
No edit summary
Line 127:
// This optional section is executed upon termination of any of the try or catch blocks above
}
</source>
 
=== [[Common Lisp]] ===
<source lang=lisp>
(ignore-errors (/ 1 0))
 
(handler-case
(progn
(print "enter an expression")
(eval (read)))
(error (e) (print e)))
</source>