[REBOL] Re: Use of 'context
From: coussement:c:itc:mil:be at: 12-Apr-2001 13:42
> -----Original Message-----
> From: Brett Handley [SMTP:[brett--codeconscious--com]]
> Sent: donderdag 12 april 2001 13:31
> To: [rebol-list--rebol--com]
> Subject: [REBOL] Re: Use of 'context
>
> > 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.
[
I don't get the point of RT, but I think you're right.
Thanks for answering.
CU
chr==
]