2007/6/6, Arnaud Garcia <[EMAIL PROTECTED]>:

> 2/ Is it possible to call the parent function, then override it,

A simple way to ovverride a function is (does not need to be inside an object):

do-something: does [print "something"]

use [super] [
    super: :do-something
    do-something: does [
        super
        print "something else"
    ]
]

You can easily create an OVERRIDE function that does that, or you can
create your own object constructor that overrides the functions that
way istead of replacing them.

HTH,
    Gabriele.
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to