[fpc-pascal] Re: Delphi's anonymous functions in Free Pascal

Sven Barth pascaldragon at googlemail.com
Tue Oct 18 21:42:22 CEST 2011


On 18.10.2011 21:27, Roland Schäfer wrote:
> Sven pointed out yesterday that you cannot achieve in FPC what you want
> to achieve. (I haven't used Delphi in a long time and don't know what
> exactly anonymous functions are in Delphi, but I strongly tend to trust
> his word.) You can't get anonymous but only typed "function pointers"
> (cf. also Lukasz mail, second to last paragraph, plus his short mail).

For anonymous functions you can take a look at Embarcadero's Delphi help 
here: 
http://docwiki.embarcadero.com/RADStudio/en/Anonymous_Methods_in_Delphi

Regards,
Sven



More information about the fpc-pascal mailing list