[fpc-devel] Issue #32913

Sven Barth pascaldragon at googlemail.com
Sat Jul 14 22:58:59 CEST 2018


R0b0t1 <r030t1 at gmail.com> schrieb am Sa., 14. Juli 2018, 21:11:

> > Control flow statements are allowed in an EXCEPT block. Come to think of
> it,
> > didn't we have another TRY/FINALLY/EXCEPT nesting issue that might have
> > something to do with that?
> >
>
> If the above is true then this confuses me. Except should run before
> finally, so if you use flow control in an except block then the
> finally clause "shouldn't" run.
>

A "finally"-block is supposed to be executed no matter which way the
"try"-part is left: normally, with an exception or by using exit
("goto"-statements with a target outside the block are not allowed).

Regards,
Sven

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20180714/be9eed06/attachment.html>


More information about the fpc-devel mailing list