[fpc-pascal] Feature "Multiline strings" added

Sven Barth pascaldragon at googlemail.com
Mon Jul 28 14:18:55 CEST 2025


Michael Van Canneyt via fpc-pascal <fpc-pascal at lists.freepascal.org>
schrieb am Mo., 28. Juli 2025, 11:21:

> If this argument is to carry any weight, then we also need to remove
> all instances where FPC did things differently from Delphi:
>
> [snip]
> - anonymous functions explicitly are interfaces.
> [snip]


Anonymous functions *are* provided using interfaces in Delphi. The only
difference is that in Delphi an anonymous function is *always* an interface
while in FPC it depends on the left hand side as it might be assigned to a
function or method pointer if there's nothing captured (except Self in case
of method pointers).
Except for this specific point FPC and Delphi behave the same here.

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20250728/b0b97dbc/attachment.htm>


More information about the fpc-pascal mailing list