From: Jim Freeze Date: 2002-12-14T04:57:10+09:00 Subject: Re: Inheritance Question On Saturday, 14 December 2002 at 3:51:45 +0900, ahoward wrote: > On Sat, 14 Dec 2002, ts wrote: > > p ((mm + Matrix[[12]]).type) # >> MyMatrix > p ((Matrix[[12]] + mm).type) # >> Matrix > p ((mm + mm).type ) # >> MyMatrix > > all references to 'Matrix.method' from INSIDE instance methods need to > bechanged to 'type.method' and all is well... > > MyMatrix + Matrix -> MyMatrix > Matrix + MyMatrix -> Matrix This is acceptable. I can work around this. I did in C++. The way it is now, Matrix is essentially broken for my use. -- Jim Freeze ---------- What good is a ticket to the good life, if you can't find the entrance?