[REBOL] How do I dynamically extend an object! instance Re:(3)
From: jeff:rebol at: 12-Sep-2000 15:42
Bob:
> ok here is my latest method for extending an object
> in-situ. the example hasnt been turned into a function and
> I hope I am not violating any storage but here goes... [
>
> a: make object! [
> addr: "417 howser st" name: "joyce haversham" ]
>
> wds: first a vals: second a
>
> append wds 'email append vals "[joyce--someplace]"
>
> probe a
>
> ]
>
> now this -looks- fine, you can save/probe/mold the object
> and read it back in with no problems.
FIRST obj and SECOND obj have returned copies of the object
word and value blocks since last year or so. Modifying
those blocks will not affect the original object.
-jeff