Hi Christophe,

CC> The notation /a/b/c is what I need, that's why I enclose it into a
CC> block, and not pass it as a path or a lit-path.
CC> But the question is: why does the evaluator evaluate the block, while I
CC> didn't tell him to do so. Block! should protect my data from evaluation
CC> ! Am I wrong about that ?

You did tell it to evaluate it, with PROBE. :)

/a/b/c is valid REBOL syntax, but not a valid REBOL path or atomic
value; it is three values, each a refinement.

>> probe [/a/b/c]
[/a /b /c]
== [/a /b /c]
>> first [/a/b/c]
== /a
>> /a/b/c
== /c

If that's the syntax you *really must have* (emphasis for effect :),
you'll need to make it a string. It might be possible to do it another
way, but don't fight REBOL on this stuff, it just makes things harder.

What is it you're doing that requires this notation?

-- Gregg                         

-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to