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

[REBOL] Re: Reduce question

From: greggirwin::mindspring::com at: 13-Apr-2006 12:58

Hi Cesar,
>>> f2: to-block "a < b"
CC> == [a < b]
>>> reduce f2
CC> ** Script Error: a word has no context CC> ** Near: a < b When you use TO-BLOCK, the words are not bound in any way. Notice that the error says that A has no *context*, it doesn't say it has no *value* (as an unset word would). You can use LOAD and it should work fine, though it depends on what you're trying to do. -- Gregg