[fpc-pascal] Callbacks as nested functions

Ryan Joseph ryan at thealchemistguild.com
Mon Oct 23 16:38:01 CEST 2017



> On Oct 23, 2017, at 9:05 PM, Michael Van Canneyt <michael at freepascal.org> wrote:
> 
> It is not the default because neither Delphi nor TP allow this.

then that begs the question, why not? :) If local functions are a useful feature then local callbacks should be too.

Regards,
	Ryan Joseph




More information about the fpc-pascal mailing list