R0b0t1 <r03...@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

>
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to