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

Andrew Pennebaker andrew.pennebaker at gmail.com
Mon Oct 17 22:53:39 CEST 2011


Does Free Pascal have anonymous functions that you can pass around, e.g. to
a sort(compare : function, arr : array) function?

If not, does anyone know any hacks to accomplish this?

Cheers,

Andrew Pennebaker
www.yellosoft.us
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20111017/3af06d34/attachment.html>


More information about the fpc-pascal mailing list