On Sat, Oct 5, 2013 at 8:27 PM, Sven Barth <pascaldra...@googlemail.com> wrote:
> At location A the helper is not yet declared, thus GetAnotherString uses the
> GetString function of its own class. On location B the helper is already
> declared and thus the implementation of GetAnotherString will pick up the
> helper's GetString function instead.

I believed that the location that matters, in this case,  was only the
object instantiation (program/implementation body), because it was, in
both cases, after the helper declaration. A little weird.


Thanks, Sven.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to