[fpc-pascal] Re: Delphi's anonymous functions in Free Pascal
tcoq at free.fr
tcoq at free.fr
Tue Oct 25 12:42:07 CEST 2011
+1
----- Mail Original -----
De: "Graeme Geldenhuys" <graemeg.lists at gmail.com>
À: "FPC-Pascal users discussions" <fpc-pascal at lists.freepascal.org>
Envoyé: Vendredi 21 Octobre 2011 10h03:27 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne
Objet: Re: [fpc-pascal] Re: Delphi's anonymous functions in Free Pascal
On 2011-10-20 22:55, Florian Klämpfl wrote:
>
> The same can be done with fpc (nested if needed) procedure variables and
> it will be more readable (imo)? The example still does not take
This seldom happens, but here I fully agree with Florian. ;-) Every
example of anonymous methods I have seen so far, can easily be done with
OP's procedure variables too. Maybe anonymous methods were introduced
in other languages because they didn't have something like OP's
procedure variables. I guess Object Pascal was yet again ahead of
everybody else. :)
Regards,
- Graeme -
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/
_______________________________________________
fpc-pascal maillist - fpc-pascal at lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
More information about the fpc-pascal
mailing list