Am 13.10.2016 15:07 schrieb "Graeme Geldenhuys" < mailingli...@geldenhuys.co.uk>: > > On 2016-10-13 13:48, Sven Barth wrote: > > That won't help with Halt() however as that will "jump" directly to the > > unit finalization, ignoring any and all exception handlers along the way. > > > Wow, that's a bit harsh. Overriding the whole meaning of the > try..finally language feature. Then I would recommend NOT using Halt() > for anything - its nasty. >
You must not forget that it came from a time when Pascal didn't have exception handling. Nowadays it's indeed more often than not better not to use it due to the way it works. Regards, Sven
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal