[fpc-devel] Delphi anonymous methods

Alexander Klenin klenin at gmail.com
Tue Mar 5 14:23:42 CET 2013


On Wed, Mar 6, 2013 at 12:16 AM, Sven Barth <pascaldragon at googlemail.com> wrote:
>
> SomeVar := SomeFunc<Something> - SomeType<Something>.SomeMethod *
> SomeOtherType<Something>.SomeMethod<Something>;
>
> === example end ===
>
> while this will be much easier to implement:
>
> === example begin ===
>
> SomeVar := specialize SomeFunc<Something> - specialize
> SomeType<Something>.SomeMethod * specialize
> SomeOtherType<Something>.specialize SomeMethod<Something>;
>
> === example end ===
>
> (though "specialize SomeType<Something>" and "specialize
> SomeOtherType<Something>" are more likely to stay in type sections for
> now...)
>

BTW, does anybody know why on earth the "sane" objFPC syntax still have
those angle brackets instead of normal round ones?

-- 
Alexander S. Klenin



More information about the fpc-devel mailing list