>Hi list:
>
>I recently discover the 'context word, but I do not see what
functionality
>it adds compared to the creation of an object :
>
no adds, a shortcut.
derived means [make from-this! []]
underived means from empty-object
><snip>
>
>REBOL/Command 1.0.0.3.1 19-Sep-2000
>Copyright 2000 REBOL Technologies. All rights reserved.
>
>>> help context
>USAGE:
> CONTEXT blk
>
>DESCRIPTION:
> Defines an underived object.
> CONTEXT is a function value.
>
>ARGUMENTS:
> blk -- Object variables and values. (Type: block)
>
>>> c: context [val: make integer! 999]
>>> probe c
>make object! [
> val: 999
>]
>>> c/val
>== 999
>>> o: make object! [val: make integer! 999]
>== 0
>>> probe o
>make object! [
> val: 999
>]
>>> o/val
>== 999
>
></snip>
>
>What the purpose of this? What does RT means by "underived" (perhaps
>"un-inherited") ?
>
>Regards,
>
>chr=>--
>To unsubscribe from this list, please send an email to
>[EMAIL PROTECTED] with "unsubscribe" in the
>subject, without the quotes.
>
--
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the
subject, without the quotes.