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

[REBOL] Re: PROTECT bug

From: g::santilli::tiscalinet::it at: 8-Dec-2001 17:52

Hello Gregg! On 07-Dic-01, you wrote: GI> Regarding use of 'protect: Can you protect an entire context, GI> or the words *in* a context? I haven't figured out how to do GI> that yet. The problem is:
>> obj: make object! [
[ a: 1 [ b: 1 [ protect 'a [ protect 'b [ ]
>> set in obj 'a 3
** Script Error: Word a is protected, cannot modify. ** Where: set in obj 'a 3
>> obj/a: 3
== 3 which looks like a bug to me... Anyone sent it to feedback? Regards, Gabriele. -- Gabriele Santilli <[giesse--writeme--com]> - Amigan - REBOL programmer Amiga Group Italia sez. L'Aquila -- http://www.amyresource.it/AGI/