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

[REBOL] Re: Is there a REBOL construct similar to the "map" word as used in Logo

From: lmecir:mbox:vol:cz at: 30-Jun-2002 22:10

Hi, <<Gregg>> ... It's a word that lives in the context of the REPEAT block (bind gurus please correct my explanation!). I.e. it is a word that you don't have to declare and won't have a value outside the iteration construct. ... <</Gregg>> I am not sure that Gregg's explanation needs a correction. Nevertheless, if we are picky, we can say something more complicated, e.g.: It's a word that lives in a context created by the REPEAT function. The function binds its BODY argument to the context. The latter is a little bit more accurate than saying that "... it lives in the context of the REPEAT block", because a context of a block is not defined in Rebol. -L