RE: OO subclassing, wrong method being called in hierarchy.

2005-02-03 Thread Michael Kraus
t; Subject: Re: OO subclassing, wrong method being called in hierarchy. > > >>>>> "Michael" == Michael Kraus <[EMAIL PROTECTED]> writes: > > Michael> The package names are actually section, dbh_section > and checkout (rather > Michael> t

Re: OO subclassing, wrong method being called in hierarchy.

2005-02-03 Thread Randal L. Schwartz
> "Michael" == Michael Kraus <[EMAIL PROTECTED]> writes: Michael> The package names are actually section, dbh_section and checkout (rather Michael> than A,B and C respectively). Lowercase names are also reserved for pragmas. You should choose names that begin with uppercase letters, and hav

RE: OO subclassing, wrong method being called in hierarchy.

2005-02-02 Thread Michael Kraus
> If those are the actual package names your using, then you > are probably picking up the B package in the core... No, they're not. (I didn't realise there was a B package already, though!) The package names are actually section, dbh_section and checkout (rather than A,B and C respectively). J

Re: OO subclassing, wrong method being called in hierarchy.

2005-02-02 Thread Randy W. Sims
Michael Kraus wrote: G'day... I've got three classes in a hierarchy, i.e.: Class A (Super class) | Class B (Subclasses A, Superclasses C) | Class C (Subclass) I have a method (called "go") on both B and A. However, if it is called on A die is called as it is designed to be overridden in subc

OO subclassing, wrong method being called in hierarchy.

2005-02-02 Thread Michael Kraus
G'day... I've got three classes in a hierarchy, i.e.: Class A (Super class) | Class B (Subclasses A, Superclasses C) | Class C (Subclass) I have a method (called "go") on both B and A. However, if it is called on A die is called as it is designed to be overridden in subclasses of A. Whe