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

[REBOL] Re: local vars in functions

From: greggirwin:mindspring at: 24-Apr-2002 9:41

Hi Joel, << What if REBOL had a new word, e.g. GLOBAL-CONTEXT-FROZEN (and I'm quite happy for suggestions for a better name!), that controlled whether adding new words to the global context were prohibited? >> Given the discussion a short while ago about people wanting the ability to extend *any* context easily, what if you could do the following: UNFREEZE context extend context FREEZE context FROZEN? context <can't extend it if frozen> I don't how they might work, if it's feasible, or if it's even a good idea, but it's a thought. --Gregg