I think you are over complicating your class.

Your class should have no super class, and should have a property of something like

mystrings() as String


And have the following methods :

add
delete
count
and whatever you want to do to iterate, and the just work off the mystrings array.

So you don't inherit, but in a way extend the array by writing your own array class.

Trausti


On 23.10.2006, at 08:57, Jay Rimalrick wrote:

I am trying to make an iterator class.  My plan is to
make a new class with an "array" as the super class
and then add some new "iterator" methods like java
has.  However, I can't seem to get an array as the
super class.  When I type array in the super class
text box it disappears and there is not an array
option to choose from the drop down box.  RB is
obviously telling me that I can't use an array as a
super class, however what can I do to reach my
iterator ends?

I thought about making a new class with all of the
array methods simply "wrapped" in methods with exactly
the same name and then adding the iterator methods,
however this plan seems like a crude hack.

Thanks,
Jay

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
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>

_______________________________________________
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>

Reply via email to