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

[REBOL] Object -> Word?

From: kpeters:otaksoft at: 19-Dec-2007 19:08

>> o1: make object! [] >> o2: make object! [] >> >> probe type? o2
object! == object!
>> >> s: [ o1 o2 ]
== [o1 o2]
>> >> probe type? s/1
word! == word! Hmm - why the type change here from object to word? More importantly, how do I overcome this? I need to iterate over all the objects in a block and operate on them as objects - not words... TIA Kai