On Dec 23, 2006, at 11:41 PM, Andy Dent wrote:
' try calling superclass method by casting - won't work
SubClass(self).raz "CallRaz pointer to SubClass(tester).raz"
True but you can access a shadowed property that way.
' explicitly call our superclass so it WILL work
super.raz "super.raz"
Yes this I use often ...
' Directly call a given method on an ancestor, not necessarily
immediate parent - this is NOT casting
ParentClass.raz "ParentClass.raz"
But this syntax I have never seen before and was not aware it could
be used outside calling class methods... I will have to try it as
I've done some contortions to do just that!
- Karen
_______________________________________________
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>