Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Backwards Navigation on path

From: ammoncooke:ya:hoo at: 11-Oct-2001 17:43

You're right! But I didn't discover that until after I sent that email, & didn't realize that it would fix my problem. (I discovered it with experiments in the console, not my actual script :)). Now let me reiderate.
>> a: make object! [
[ b: make object! [ [ c: "object" [ ] [ d: make object! [ [ e: make object! [ [ f: b/c [ ] [ ] [ ]
>> a/d/e/f
== "object" Hmm.. seems to find the nearest declaration of a word by reversing through the hierarchy....
>> a: make object! [
[ b: make object! [ [ c: "object" [ ] [ d: make object! [ [ b: make object! [ [ c: "second object" [ ] [ e: make object! [ [ f: b/c [ ] [ ] [ ]
>> a/d/e/f
== "second object" Am I not right? Is there somehow to reference to first 'b not the nearest? Thanks!! Ammon