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

[REBOL] Re: false == 2 ??

From: brett:codeconscious at: 2-Jul-2001 14:06

Hi Graham, The help on Pick says that it accepts number! and logic! types for the index value. So when given a logic! type for an index, pick's behaviour is simply to choose the first value in the series when the index is true, otherwise choose the second. No conversions to number are necessary. Therefore pick [...] false does not imply that false = 2. HTH! Brett.