Slightly embarrassing, but I forgot some of the details because I put this on the
backburner for a few weeks. The Exit wasn't inside a "finally" section, but
inside the "try" part - however, the entire block was in an "except" section.
I'll double check that Exit is not allowed in the finally segment. Apologies!
Gareth aka. Kit
On Sat 14/07/18 21:58 , Sven Barth via fpc-devel firstname.lastname@example.org sent:
> R0b0t1 schrieb am Sa., 14. Juli 2018, 21:11:
> > Control flow statements are allowed in an EXCEPT block. Come to think of
> > 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 - email@example.com
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel 
fpc-devel maillist - firstname.lastname@example.org