[fpc-pascal] Re: Fpc Access Violation if AppConfigDir doesn't exist.

Sven Barth pascaldragon at googlemail.com
Wed Feb 13 18:31:24 CET 2013

On 13.02.2013 18:07, Giuliano Colla wrote:
> Lukasz Sokol ha scritto:
>> On 13/02/2013 13:14, Michael Van Canneyt wrote:
>> I'd rephrase what I discussed with Sven Barth:
>> this construct (the packed try.(1).finally.(2).except.(3).end;) - a
>> packed/condensed version -
> I would be in favor of try..except..finally, as opposed to
> try..finally..except, because I believe it better to handle exceptions
> before, and clean-up after. Exception handling doesn't consist only in
> showing an error box, it may involve also providing a remedy to some
> errors, and hopefully passing to finally a cleaner situation to handle.
> I'm ready to change advise if proved wrong.

As the proposed construct is a "mere" syntactic sugar anyway I see no 
problem in allowing both cases (after all you can do both ways with the 
original constructs as well)...


More information about the fpc-pascal mailing list