El 13/10/2016 a las 15:07, Graeme Geldenhuys escribió:
> 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.
I only use it in the interpreting command line parameters phase. If
there is an error, I display help and halt. And probably even in this
cases I shouldn't, it's a dirty hack.
fpc-pascal maillist - email@example.com