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

[REBOL] Re: Q: Functions and the visibility of words

From: carl:rebol at: 25-Apr-2001 8:38

Thanks, Martin answered it quite well... In addition, this is the way the majority of languages handle it. If a variable is not defined locally, then it is by default global. It was Lisp in 1959 that first adopted this rule. They are called free variables . Of course, we did not do it in REBOL for that reason alone. We did it to make life a lot easier for beginners. Experts already know what to do. -Carl