[DUG] Try exiting Finally block
James Sugrue
jamessugrue at xtra.co.nz
Fri Jul 21 14:19:56 NZST 2006
"Dear DailyWTF......"
;-)
I'm with Conor. It sounds like you have a logic issue rather than a try
finally issue?
-----Original Message-----
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 2:10 p.m.
To: NZ Borland Developers Group - Delphi List
Subject: RE: [DUG] Try exiting Finally block
Ok so a goto and label before the finally will do what I want, thanks
Jason
-----Original Message-----
From: delphi-bounces at ns3.123.co.nz [mailto:delphi-bounces at ns3.123.co.nz]
On Behalf Of Paul McKenzie
Sent: Friday, 21 July 2006 2:05 p.m.
To: Jason
Subject: Re: [DUG] Try exiting Finally block
Exit - will exit the procedure processing the finally block that
surrounds it.
How about an "If" the run the rest of the code "else" you are at the
finally!
There is the good old goto placed immediately prior to the finally.
What exactly are you trying to achieve?
Regards
Paul McKenzie
Wellington
New Zealand
Jason Coley wrote:
> 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
>
>
> ----------------------------------------------------------------------
> --
>
> _______________________________________________
> Delphi mailing list
> Delphi at ns3.123.co.nz
> http://ns3.123.co.nz/mailman/listinfo/delphi
_______________________________________________
Delphi mailing list
Delphi at ns3.123.co.nz
http://ns3.123.co.nz/mailman/listinfo/delphi
_______________________________________________
Delphi mailing list
Delphi at ns3.123.co.nz
http://ns3.123.co.nz/mailman/listinfo/delphi
More information about the Delphi
mailing list