On Sun, Oct 18, 2015 at 10:11 AM, Anthony Walter <[email protected]> wrote:

> A question, are type helpers limited to one per type? That is to say, if I
> write a "type MyStringHelper = record helper for string" and Michael adds a
> "type LazStringHelper = record helper for string" in SysUtils, will only
> one of them work when I have both units added to the my uses clauses of
> another unit?
>

Only one of them will work, but you can use helpers inheritance.

http://www.freepascal.org/docs-html/ref/refse57.html#x114-12400010.5

thanks,
Dmitry
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to