Yep thanks, I didn't think of it the right way.
Tom
On Jun 30, 2004, at 4:55 PM, Will Leshner wrote:
On Wed, 30 Jun 2004 16:52:04 -0500, Tom Iwaniec <tom at oranged dot net>
wrote:
Is there any way for the super class's todictionary to call the
subclass's todictionary to get the value returned by it, and then add
to that dictionary and return it as the final dictionary?
You never want to be calling a subclass method in a super class. In
this case, you want to turn it around and do it the other way, I would
think. In your subclass ToDictionary call super.ToDictionary to get
the initial dictionary and then add to that in your subclass
ToDictionary and return it.
--
KidzLog: http://haranbanjo.com/kidzlog
REALbasic Gazette: http://rbgazette.com
bits & pieces: http://haranbanjo.com/bitsandpieces
_______________________________________________
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|