Hi,

        Here is a copy of an actual console session:

REBOL/View 1.2.1.4.2 21-Jun-2001
Copyright 2000-2001 REBOL Technologies.  All rights reserved.
REBOL is a trademark of REBOL Technologies. WWW.REBOL.COM

Type DESKTOP or SET-USER for settings.
>> f: func ['n][probe n print mold type? n] ; taken literally
>> f foot/war
** Script Error: foot has no value
** Where: f
** Near: probe n print mold type?
>> foot: context []
>> f foot/war
** Script Error: Invalid path value: war
** Where: f
** Near: probe n print mold type?
>> foot: context [war: 'foo]
>> f foot/war
foo
word!


        Are you using the new beta?

Enjoy!!
Ammon


On Thursday 27 June 2002 03:17 pm, you wrote:
> What? Or, not true, check this:
> >> f: func ['n][probe n print mold type? n] ; taken literally
> >> f foot/war  ; but not given literally
>
> foot/war
> path!
>
> >> f /foot/war  ; try a path beginning with a slash
>
> /foot
> refinement!
> == /war
>
> Either way, it doesn't look like we can pass
> a path that begins with a slash.
>
> >> f '/root/war
>
> ** Syntax Error: Invalid word-lit -- '
> ** Near: (line 1) f '/root/war
>
> Oops. I'll tell you why. A path beginning with a slash is
> not a path! - it's actually a refinement! (or a number of refinements)
>
> Anton.
>
> > Hi,
> >
> > >> x: func ['n][
> >
> > [    probe n
> > [    ]
> >
> > >> x 'a-path/blah
> >
> > a-path/blah
> >
> > notice the explicit use of *literals*  the function must take
> > path literally
> > and the path must be given literally!
> >
> > HTH
> > Ammon
> >
> > On Monday 24 June 2002 10:16 pm, you wrote:
> > > On 24-Jun-02, Anton wrote:
> > > >> One problem though is it still doesn't cater for the Reb-path, so
> > > >> to speak. At the Desktop level, your...
> > > >>
> > > >>    http://www.lexicon.net/anton/rebol/gui/
> > > >>
> > > >> could be described as this...
> > > >>
> > > >>    REBOL.com/sites/anton/gui/
> > > >
> > > > Oh I see.
> > > >
> > > >> and it'd be good if the Desktop could handle that.  (It'd have to
> > > >> drill down a page at a time to get there so it could find the real
> > > >> URLs of course, but there'd be no need for it to waste time
> > > >> displaying each page as it passed by.)  A new protocol perhaps?
> > > >> Maybe...
> > > >>
> > > >>     reb://REBOL.com/sites/anton/gui/
> > > >>
> > > >> Any other suggestions for how it could be handled?
> > > >>
> > > >> --
> > > >> Carl Read
> > > >
> > > > It's gonna be slow. The index file fo every part of the
> > > > path must be read to determine the next piece.
> > >
> > > Yes, but it should be faster than clicking through by hand.
> > >
> > > >     reb://REBOL.com/sites/anton/gui/
> > > >
> > > > But it should be easy to work this into the desktop patch,
> > > > using just a lit-path for now instead of a new pseudo-protocol.
> > >
> > > Hmmm.  I'm sure it's possible, but how would you grab all the path at
> > > the console...
> > >
> > > >> x: func [n][probe n]
> > > >> x /a-path/blah
> > >
> > > /a-path
> > > == /blah
> > >
> > > ?

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

Reply via email to