On Sat, Oct 5, 2013 at 8:27 PM, Sven Barth <[email protected]> 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  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to