Ondrej Pokorny wrote:
On 18.04.2016 10:18, Jonas Maebe wrote:
Delphi does not support assigning procedures to variables representing
anonymous functions

It does. Both for procedure of object and plain procedure:

Sorry, I misremembered: it does not support it for nested procedures, even though are semantically quite similar to anonymous functions (in terms of capturing context).


Jonas
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to