[fpc-pascal] Finally, exceptions and so on.

Mark Morgan Lloyd markMLl.fpc-pascal at telemetry.co.uk
Thu May 14 13:33:40 CEST 2015


Jonas Maebe wrote:
> On 14/05/15 13:18, Mark Morgan Lloyd wrote:
>> Except that- as I understand it- when the reference count is decremented
>> to oblivion, it will be destroyed by "magic" code in the context of the
>> block it was created in.
> 
> At which point exactly they will be destroyed is an implementation
> detail that is expressly undefined.

Thanks very much for that Jonas. So I think it leaves the only "magic" 
being that exit always goes via the live finally blocks, or is there 
equivalent behaviour for raise?

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]



More information about the fpc-pascal mailing list