[REBOL] Re: Help With Query
From: ammon:addept:ws at: 19-Feb-2004 15:36
The problem you are experiencing here is the difference between a path! and
a lit-path!. changing the line:
path: 'root/sub1/sub2/word
to:
path: root/sub1/sub2/word
will make it function as you expected. using a lit-path! will force the
interpreter to NOT evaluate the path. NOTE: The difference between a
lit-path! and a path! is simply that a lit-path! has a single quote in front
of it whereas a path! does not. You will find that word! and lit-word!
work the same way. Use a lit-path! or a lit-word! where you want the
LITERAL word or path rather than the value that it may refer to.
HTH
~~Ammon ;~>