[fpc-pascal] Callbacks as nested functions
    Michael Van Canneyt 
    michael at freepascal.org
       
    Mon Oct 23 16:42:57 CEST 2017
    
    
  
On Mon, 23 Oct 2017, Ryan Joseph wrote:
>
>
>> 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.
Well, we're not Delphi compiler developers, TP is long defunct, 
so this is the wrong place to ask :)
Michael.
    
    
More information about the fpc-pascal
mailing list