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

[REBOL] Re: Stupid function contexts (or stupid Rebol user?)

From: d4marcus:dtek:chalmers:se at: 7-Dec-2001 23:34

On Thu, 6 Dec 2001, Anton Rolls wrote:
> > Solution 1 (bad): Put all the parse rules in the function, > > which means > > they are redefined every time the function is executed. > > I don't think they are.
Ah, right. The blocks remain the same, and are just rebound to the words every time. Obviously it's not a speed problem. I just want to keep the rules outside the function to make it more readable. Anyway, it's not that important. Either I figure something out, or I will make a habit of putting the parse rules inside the function. But it would be cool to be able to bind a block to a function context. Marcus ------------------------------------ If you find that life spits on you calm down and pretend it's raining