[fpc-pascal] Finally, exceptions and so on.
Mark Morgan Lloyd
markMLl.fpc-pascal at telemetry.co.uk
Thu May 14 17:17:22 CEST 2015
Ewald wrote:
> On 05/14/2015 04:17 PM, Mark Morgan Lloyd wrote:
>> So in effect, both an exit and a raise first execute the innermost
>> finally, then look for procedure end or exception block repeating as
>> necessary.
> Yes.
>
>
>> These are the only cases where syntax needs to be unwound in this way.
>>
>
> Well... There is also continue and break. The following program will
> also execute the Finally statements before exiting the loop:
Thanks for that. Any others that occur to anybody?
--
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