June 12, 2012
8:23 a.m.
Hi Gareth, I did not get what you want to do exactly. subclassResponsibility is used to through an exception which indicates that this methods should have been redefined in a subclass. 2012/6/12 Gareth Cox <gareth.cox@pro-mis.com>
Hi All
I'm attempting to subclass a class (Point) and I want some instructions passed to Point to go to MyPoint. Specifically I have Point >>asMyPoint >> self subclassResponsibility. In MyPoint I've got asMyPoint ^x@y.
When I execute code, I get an error that the subclass should have executed...
which code did you execute?
How does this actually work? How should I do this?
By creating your subclass of Point named MyPoint, you can change any method of Point by redefining it in MyPoint. Luc
Kind Regards Dusty