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

[REBOL] Re: Redefining system words - gotchas

From: gregg::pointillistic::com at: 26-Apr-2007 17:03

Hi Tim, TJ> I want to redefine 'pick so that pick series -1 gets the last TJ> element pick series -2 gets the second to last etc... TJ> ...the gotcha is that if I'm working with a large application that TJ> has somehow previous defined 'sys-pick errors could be introduced. I've become leery of redefining system words at a global level, especially in larger projects, but I know that's part of the appeal of REBOL; so I would suggest using Ladislav's INCLUDE function, that allows you to specify that something should not be loaded if it already has been. -- Gregg