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

[REBOL] Re: Problem with 'collect?

From: brett:codeconscious at: 17-Aug-2003 17:13

Hi Andrew,
> I feel that I've got something wrong in 'Collect, as it looks like the > value attached to 'Results gets muddled up between the various uses of > 'Collect. Can anyone point out what I've got wrong?
Perhaps Gabriele's comment on my original collect function is the key to your problem? - Gabriele wrote:
> Small note: you should bind your RESULT word to a fresh context > (USE, etc.), otherwise you'll be relying on COLLECT's context not > being modified while the body block is getting evaluated.
Regards, Brett.