Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[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