On Mon, Jul 16, 2018 at 3:28 PM, Sven Barth via fpc-pascal <fpc-pascal@lists.freepascal.org> wrote: > Am 16.07.2018 um 19:55 schrieb R0b0t1: >> >> >>> - Try except finally blocks >> >> I can support this one, I am surprised it is not already supported. >> Wasn't this mentioned in another recent thread as existing? Does it >> exist in at least Delphi mode? > > > This is not supported and the last time it was discussed here on the mailing > lists it was shot down (though I can't find the thread currently...). > Also why should it exist in Delphi mode when Delphi does not support it? > (Yes, there are some features that work in Delphi mode that Delphi doesn't > support, but in generic the purpose of mode Delphi is to support Delphi > code)
From my searching it is in (newer?) Delphi. I can't admit to being a huge fan of "finally" (I don't typically use it myself) but I am interested in why it is not supported. >> >> FPC is already lacking in some major ways compared to Delphi. The main >> one I can think of is anonymous functions. If anyone could implement >> that the community would benefit immensely. > > > As I had already written you on the Forum ( > http://forum.lazarus.freepascal.org/index.php/topic,39051.msg269034.html#msg269034 > ) this is WIP and you could help the author if you wanted. > My apologies, I think I stopped checking the forum as regularly before you posted. I will look for the code. Cheers, R0b0t1 _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal