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

[REBOL] Re: Use of 'context

From: brett::codeconscious::com at: 12-Apr-2001 21:31

> I recently discover the 'context word, but I do not see what functionality > it adds compared to the creation of an object :
Currently doesn't add any functionality, but does add readability.
>> source context
context: func [ "Defines a unique (underived) object." blk [block!] "Object variables and values." ][ make object! blk ]
>What does RT means by "underived" (perhaps > "un-inherited") ?
I suspect just that it is a new object as opposed to one created like the following first-object: context [name: "first"] derived-object: make first-object [] Brett.