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

[REBOL] Re: Adding functions to an object.

From: greggirwin:mindspring at: 26-Feb-2002 9:39

Hi Anton, << I thought of using make, with the object as a template, but that makes a new object. I want to modify the existing object in place. Is that possible? >> LOAD and DO bind words to the global context automatically, and I don't know of any way around that, assuming you're using LOAD or DO. My workaround was to load what I wanted as data, and append it to a block, which I then used as a spec block with MAKE, to create an object. --Gregg