[fpc-pascal] Halt() bypassed try..finally block

Graeme Geldenhuys graemeg.lists at gmail.com
Thu Sep 13 12:24:06 CEST 2007

On 13/09/2007, Michael Van Canneyt <michael at freepascal.org> wrote:

> > Is that correct behavior?  When calling Halt() somewhere inside a
> > try..finally block, it _doesn't_ execute the finally code.
> This is by design.
> Halt finalizes the units and then exits.

Thanks. I'll make a mental note to stay away from it.  :)

  - Graeme -

More information about the fpc-pascal mailing list