Hi Arjen,
it is possible, despite no "super" keyword... since functions are
just objects, you can save a private reference to the overridden
function before you override it, like:
private var super_someMethod = someMethod;
public function someMethod( a, b, c )
{
super_someMethod( a, b, c );
...
}
if you make the saved "super_someMethod" a private variable, it will
not conflict with a same named variable in a parent or derived
class. If it were public/protected, it could be overriding a
"super_someMethod" from a parent class, or be overridden by a derived
class.
-- Rob
On Sep 25, 2005, at 6:14 AM, Arjen wrote:
> Hi,
>
> Is it possible to explicitly call a function from an "inherited"
> object like
> the usage of the keyword "super" in Java?
> I can't find any documentation about this particular issue.
>
> Thanks for your help.
>
> /Arjen
>
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by:
> Tame your development challenges with Apache's Geronimo App Server.
> Download it for free - -and be entered to win a 42" plasma tv or
> your very
> own Sony(tm)PSP. Click here to play: http://sourceforge.net/
> geronimo.php
> _______________________________________________
> Objectscript-users mailing list
> Obj...@li...
> https://lists.sourceforge.net/lists/listinfo/objectscript-users
>
____________________
CONTACT INFORMATION:
email: ro...@ti...
IM: rob@sandjabber
desk: 1 858 552 2946
cell: 1 619 300 9661
|