[fpc-pascal] Callbacks as nested functions

LacaK lacak at zoznam.sk
Tue Oct 24 07:38:23 CEST 2017


Btw there is long-time open ...  may be related bug 
https://bugs.freepascal.org/view.php?id=18702

L.


Dňa 23.10.2017 o 16:42 Michael Van Canneyt napísal(a):
>
>
> 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.
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal




More information about the fpc-pascal mailing list