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

Enhancement request - set-word!s in functions should be local, NOT globa

 [1/1] from: al::bri::xtra::co::nz at: 5-Jan-2001 13:38


Enhancement request - set-word!s in functions should be local, NOT global. What would be really, really nice would be for Rebol to automatically allocate all set-word!s in a function to be in the function's local words context. This can be done automatically, like set-word!s in object!s, and probably use exactly the same C function used there. Words that are intended to have global impact, should be assigned using 'set. The disadvantage of this may be that some constructed (mezzanine) iteration functions might not work as expected? The advantages are speed of developement and it greatly lessens errors in people's work. Andrew Martin ICQ: 26227169 http://members.nbci.com/AndrewMartin/