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

[REBOL] 'protect'ing object words

From: tim::johnsons-web::com at: 5-Dec-2002 8:17

Hello All: How may I protect a word in an object? I've observed that the following code evaluates but does not work:
>> a: make object![b: 1 c: 2] >> protect in a 'b >> a/b: "one"
== "one"
>> print mold a
make object! [ b: "one" c: 2 ] Comments, pointers to documentation would be appreciated. (I'm currently looking at version 2.3 of the user's guide) TIA -- Tim Johnson <[tim--johnsons-web--com]>