[DUG] Try exiting Finally block
Trevor Jones
trevorj at ihug.co.nz
Fri Jul 21 14:02:56 NZST 2006
The cool thing about a try..finally block is that if you call exit in the
try part, the execution jumps straight to the finally part.
It sounds like exactly what you are looking for (unless you are trying to
NOT have the finally part execute).
_____
From: delphi-bounces at ns3.123.co.nz [mailto:delphi-bounces at ns3.123.co.nz] On
Behalf Of Jason Coley
Sent: Friday, 21 July 2006 1:51 p.m.
To: delphi at ns3.123.co.nz
Subject: [DUG] Try exiting Finally block
Hi there,
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?
Jason
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ns3.123.co.nz/pipermail/delphi/attachments/20060721/be238640/attachment-0001.html
More information about the Delphi
mailing list