[fpc-pascal] Helpers: Implementation Location influencing the result

Daniel Gaspary dgaspary at gmail.com
Sun Oct 6 19:01:30 CEST 2013

On Sun, Oct 6, 2013 at 8:09 AM, Sven Barth <pascaldragon at googlemail.com> wrote:
> No. Whenever you call a method (either inside a class using (implicit) Self
> or outside using a variable) the compiler checks whether a helper for that
> type is in scope and uses that if it is. It has nothing to do with object
> instantiation (that would be more for Traits/Mixins:
> http://en.wikipedia.org/wiki/Trait_%28computer_programming%29 ).

Thank you, Sven.

More information about the fpc-pascal mailing list