[REBOL] Re: Backwards Navigation on path
From: greggirwin:mindspring at: 11-Oct-2001 22:22
Hi Ammon,
What about taking a slight detour? Create a prototype object and then wrap
up object "instantiation" inside a function. Here's the idea:
>> a: context [
[ b: context [c: none]
[ d: context [
[ b: context [c: none]
[ e: context [f: none]
[ ]
[ ]
>>
>> make-a: does [
[ make a [
[ self/b/c: "object"
[ self/d/b/c: "second object"
[ self/d/e/f: self/b/c
[ ]
[ ]
>> aa: make-a
>> aa/d/e/f
== "object"
Will that approach work for you or am I still off track?
--Gregg