On 12/31/05 3:50 PM, "Mars Saxman" <mars at realsoftware dot com> wrote:
>
> On Dec 31, 2005, at 1:33 PM, Ed Kleban wrote:
>
> I don't think I understood your second example; the methods didn't
> have the same names, so I couldn't see how overloading would apply.
>
Ah, yeah I kinda botched that one didn't I. Well, let me try again:
If I have:
barClass.foo( x as Integer )
bazClass.foo( x as Variant )
and bazClass is a subclass of barClass, then which method is supposed to be
called for:
dim aBaz as bazClass
aBaz.foo( 42 )
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|