jwcolby
jwcolby at colbyconsulting.com
Mon Oct 26 08:13:24 CDT 2009
Well, I don't have a clue what I was doing before but this[] does work. My guess is that I was
using This[] (capital T) instead of this[].
Anyway, I got it working.
Sorry for the ring.
John W. Colby
www.ColbyConsulting.com
jwcolby wrote:
> Just to learn how, I am trying to subclass a generic list class.
>
> My grade calculator previously dimensioned a list and used it. The syntax to access objects in the
> list in that case was MyList{MyIndex].
>
> In my class definition I subclassed my Grades to inherit the list class.
>
> class clsGrades: List <clsGrade>
> {
> }
>
> Now I need to replace all of the code that previouly referenced MyList[]. However I cannot for the
> life of me figure out the syntax. This[] does not work. [] by itself does not work. What is the
> name of the list property that [] references?
>
> TIA
>