* Ladislav Mecir <[EMAIL PROTECTED]> [060705 00:09]:
> 
> >   
> For protected variables see the PROTECT function.

 Hi Ladislav: I've never been able to make protect operate on
 a context or a member of a context:
 see console session below:
>> help protect
USAGE:
    PROTECT value

DESCRIPTION:
     Protect a word or block to prevent from being modified.
     PROTECT is a native value.

ARGUMENTS:
     value -- The word or block of words to be protected (Type: word block)
>> d: context[a: 1]
>> protect 'd
>> d/a: 2
== 2
>> probe d
make object! [
    a: 2
]
>> protect in d 'a
>> d/a: 3
== 3
>> probe d
make object! [
    a: 3
]
>> ;; Doesn't work!!
>> protect d/a
** Script Error: protect expected value argument of type: word block
** Near: protect d/a

tim


-- 
Tim Johnson <[EMAIL PROTECTED]>
      http://www.alaska-internet-solutions.com
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to