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

[REBOL] Re: Object -> Word?

From: tomc:cs:uoregon at: 19-Dec-2007 19:25

Kai Peters wrote:
>>> 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 >
probe type? do s/1 there may be safer ways ... I will rummage about -- ... nice weather eh tomc-cs.uoregon.edu