Hi Christophe, use:
do reduce [p] or do compose [(p)] etc. AFAIK agressive path evaluation has been disabled in Rebol from core version 2.5.1 (http://www.rebol.com/docs/changes.html#section-5.2) regards, Cyphre ----- Original Message ----- From: "Coussement Christophe" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 16, 2004 3:53 PM Subject: [REBOL] [path] Accessing object data from dynamically created path! > > Hi list, > > I have this little problem I could solve in another way, but I could not = > find an answer to this one: > > Let's say I have an object: > > >> o: context [x: [y [2]]] > > I can access the data inside: > >> o/x/y > =3D=3D [2] > > Now I create the same path in a word > >> p: 'o/x/y > =3D=3D o/x/y > >> p > =3D=3D o/x/y > >> type? p > =3D=3D path! > > How could I access the data into object! 'o using this path? > > >> reduce :p > =3D=3D o/x/y > > I tried to bind it: > >> bind p/1 'o > =3D=3D o > > but no result ... > >> reduce :p > =3D=3D o/x/y > > Any suggestion ? > > TIA > > =3D=3Dchristophe > -- > To unsubscribe from the list, just send an email to rebol-request > at rebol.com with unsubscribe as the subject. > -- To unsubscribe from the list, just send an email to rebol-request at rebol.com with unsubscribe as the subject.
