Hi Ingo,

Oops, your solution doesnot work since you are trying to assign recursive
value form undone object:

>> a: make object! [
[            b: make object! [
[                        c: "object"
[                        ]
[            d: make object! [
[                        b: make object! [
[                                    c: "second object"
[                                    ]
[                        e: make object! [
[                                    f: system/words/a/b/c
[                                    ;  ^^^^^^^^^^^^^^
[                                    ]
[                        ]
[            ]
** Script Error: f needs a value
** Near: f: system/words/a/b/c
>>

I think this should be:

>> a: make object! [
[            b: make object! [
[                        c: "object"
[                        ]
[            d: make object! [
[                        b: make object! [
[                                    c: "second object"
[                                    ]
[                        e: make object! [
[                                    x: does [do bind [a/b/c] 'a]
[                                    ]
[                        ]
[            ]
>> a/d/e/x
== "object"
>> a/b/c
== "object"
>> a/b/c: "test"
== "test"
>> a/d/e/x
== "test"
>>


Regards,

Cyphre


----- Original Message -----
From: "Ingo Hohmann" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, October 12, 2001 11:11 AM
Subject: [REBOL] Re: Backwards Navigation on path


> Hi Ammon,
>
> you could start at the root of all evil ...
>
> >> a: make object! [
> [        b: make object! [
> [                c: "object"
> [                ]
> [        d: make object! [
> [                b: make object! [
> [                        c: "second object"
> [                        ]
> [                e: make object! [
> [                        f: system/words/a/b/c
> [                        ;  ^^^^^^^^^^^^^^
> [                        ]
> [                ]
> [        ]
> >> a/d/e/f
> == "object"
>
> kind regards,
>
> Ingo
> --
> To unsubscribe from this list, please send an email to
> [EMAIL PROTECTED] with "unsubscribe" in the
> subject, without the quotes.
>
>


---
Odchoz� zpr�va neobsahuje viry.
Zkontrolov�no antivirov�m syst�mem AVG (http://www.grisoft.cz).
Verze: 6.0.282 / Virov� b�ze: 150 - datum vyd�n�: 25.9.2001

-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to