MOO-cows Mailing List Archive


[PROG] Re: Changing parents & dynamic properties

At 08:32 AM 1/23/96 PST, you wrote:
>Thus changing the property on the parent 
>changes it on the child.  *IF* you @set the properties of the child, they
>will then be stored locally on the child object, and will no longer reference
>the parent at all (even if you @set them to the same value).  So until a 
>property is altered locally, it is just inherited from the parent.  Once there
>is an alteration that inheritance is broken forever.

The last statement is incorrect.
The clear'ness of the property can be found with the builtin function:
  is_clear_property(OBJ, "property")
And you can make a property clear with the builtin function:
  clear_property(OBJ, "property")
When a property is 'clear', the value of that property on the object's
parent is shown.


Home | Subject Index | Thread Index