[REBOL] Rebol Enhancement Request <object>/Parent
From: al:bri:xtra at: 16-Feb-2001 15:26
Rebol Enhancement Request <object>/Parent
What would be nice to add to Rebol is a 'parent value, much like the 'self
value. The 'parent value is set to the value of object used to 'make this
object. For example, with:
o: make object! [f: func [] []]
oo: make o []
the result of:
probe oo/parent
would be something like:
make object! [f: func [] []]
The result of:
probe oo/f
would be:
parent/f
So enabling Rebol to have inheritance and still be able to 'mold
objects.
Andrew Martin
ICQ: 26227169 http://members.nbci.com/AndrewMartin/