Ok so a goto and label before the finally will do what I want, thanks Jason
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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 > [email protected] > http://ns3.123.co.nz/mailman/listinfo/delphi _______________________________________________ Delphi mailing list [email protected] http://ns3.123.co.nz/mailman/listinfo/delphi _______________________________________________ Delphi mailing list [email protected] http://ns3.123.co.nz/mailman/listinfo/delphi
