[Prev][Next][Index][Thread]

Re: [Q] Semantics of exception clause in block



"Gabor Greif" <gabor@mac.com> writes:

> Will the <simple-error> permeate the block?
> Or is there an implicit <error> handler in block?

The sample definition of block() in the DRM does not show any implicit
handlers.

There is no handler for <simple-error> in the block so the code in the
exception clause will not be executed. Control will attempt to be
passed to another handler for <simple-error>. If there are no others
then the generic function default-handler is called. This is from my
reading of chapter 7 of the DRM.

Chris.
-- 
http://www.double.co.nz/dylan



References: