Hi Andrew,
Those were the words of [EMAIL PROTECTED]:
> Andrew wrote:
> > Words in objects which refer to functions are copied. Therefore the
> object will be bigger than expected.
>
> Ingo wrote:
> > Seems logical, given that functions are the same as data in Rebol,
> but it would be nice to have them only once for a set of equal objects,
> ..
>
> Yes. I'm thinking there should be a way of recreating objects so as to
> have sort of ability. It would probably mean loosing the ability to mix
> code and data. Something like the Interface and Implementation objects
> I posted earlier.
That could be a way to make it work now. Another approach could be
a refinement to set:
set/reference
that always only adds a reference to the real value, you had to manually
set all words in the object, you want only once, but it could also be used
to add class variables.
regards,
Ingo
-- _ . _
ingo@)|_ /| _| _ <We ARE all ONE www._|_o _ _ ._ _
www./_|_) |o(_|(/_ We ARE all FREE> ingo@| |(_|o(_)| (_|
http://www.2b1.de/Rebol/ ._| ._|