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

Reply via email to