> On Sep 8, 2022, at 9:09 AM, Michael Van Canneyt <mich...@freepascal.org> 
> wrote:
> 
> To me it seems logical that you cannot do this, since a function reference is 
> actually an
> interface, and there is no actual object to back it up.
> 
> Your function reference could also be a regular procedure (no data at all) or 
> even a local
> procedure.

I thought it keeps the method data in the interface so it could dispatch it 
later. How would it work otherwise?

Regards,
        Ryan Joseph

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to