[REBOL] Re: Path and contexts etc.
From: larry::ecotope::com at: 15-Feb-2001 10:23
Hi Stefan,
Good question. Just a quick comment, others may wish to expound further.
Paths like functions are "hot", the interpreter tries to fully evaluate them
when encountered. In your case the path evaluates to an . The interpreter
then automatically tries to evaluate the word foobar, resulting in the
error. You can prevent the full evaulation like this:
>> type? :path1
== path!
or
>> type? get/any 'path1
== path!
HTH
-Larry