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

'protect'ing object words

 [1/2] 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]>

 [2/2] from: anton:lexicon at: 6-Dec-2002 12:49

Hmm, I don't see a way to do that. -> Feedback. Anton.