Couldn't you still use his idea?
Just put the a context and the
maker/initializer function into your
ride context. :)
You end up with a context in a context
in a context... but what the hey.

Anton.

> -----Original Message-----
> From: Ammon Cooke [mailto:[EMAIL PROTECTED]]
> Sent: Friday, 12 October 2001 17:53
> To: [EMAIL PROTECTED]
> Subject: [REBOL] Re: Backwards Navigation on path
> 
> 
> looks like that would do it, but the idea is to create 
> ("sh..." <he looks
> around to be sure no one is listening>, "RIDE")  with only 
> one word in the
> global context, 'RIDE.
> 
> Thanks!!
> Ammon
> 
> 
> ----- Original Message -----
> From: "Gregg Irwin" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, October 11, 2001 9:22 PM
> Subject: [REBOL] Re: Backwards Navigation on path
> 
> 
> > 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
-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to