[Prev][Next][Index][Thread]
[Q] Semantics of exception clause in block
-
To: info-dylan@ai.mit.edu
-
Subject: [Q] Semantics of exception clause in block
-
From: "Gabor Greif" <gabor@mac.com>
-
Date: Tue, 11 Apr 2000 07:15:02 -0400 (EDT)
-
Xref: traf.lcs.mit.edu comp.lang.dylan:11806
I have trouble with some block() statements.
It looks like all conditons are handled by block.
Expanded:
define class <file-not-found-error>(<error>)
end;
define function foo()
"ooops".error
end;
block()
foo();
exception(<file-not-found-error>)
#f
end block
Will the <simple-error> permeate the block?
Or is there an implicit <error> handler in block?
I do not have a DRM handy so I am just looking for a quick hint.
Thanks,
Gabor
Follow-Ups: