Hi bobr,

what are the results of the code below and which version of Rebol you use?

-Ladislav

> At 09:09 PM 9/10/00 +0200, [EMAIL PROTECTED] wrote:
> >Hi bobr,
> >> - can it be done without creating a new instance?
> >
> >No.
> 
> 
> 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. best of all no new object
> is instantiated so all references to a are updated as well.
> 
> for some reason you cannot access the new items
> by a path.  as soon as you type  a/email
> there is an error.
> 
> 
> remove seems to be just as simple but
> I think I will stay away from it
> till I know exactly is going on with a/email 
> and why the path doesnt work before I drop
> something out of the middle.
> 
> 
> ;# mailto: [EMAIL PROTECTED]
> 
> 

Reply via email to