[DUG] Try exiting Finally block

Conor Boyd Conor.Boyd at trimble.co.nz
Fri Jul 21 14:10:36 NZST 2006


An exception? ;-)
 
Seriously, the silent Abort exception-raising method would cause you to
unwind.
 
You probably need to give more info, as others have requested, since
Exit mightn't be what you want either, as Exit will cause execution to
leave the current procedure, not just the current try..finally.
 
I suspect you might have to do a bit of refactoring and break things
down into smaller methods if you want to use Exit, but YMMV.
 
C.

________________________________

From: delphi-bounces at ns3.123.co.nz [mailto:delphi-bounces at ns3.123.co.nz]
On Behalf Of Jason Coley
 
 Is it possible to exit a try finally block or a certain criteria is met
in the try section to move straight to the finally section?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ns3.123.co.nz/pipermail/delphi/attachments/20060721/7e77c86b/attachment.html


More information about the Delphi mailing list