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

[REBOL] localized func alternative...

From: maximo:meteorstudios at: 27-Feb-2004 17:39

Hi all, Has anyone programed an alternative to func (function, has, does) which declares every set-word as local by default? I find rebol's liberal use of global namespace to be the most limiting factor in scaling rebol to large tools. I'd rather have to define global words than local words (especially in api tools). There is MUCH less chance that incidious errors will be generated or exposed. A notable example is the recent S: variable useage in the sql tool which would not have occured. TIA! -MAx --- You can either be part of the problem or part of the solution, but in the end, being part of the problem is much more fun.