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

[REBOL] Re: More on expressions

From: sunandadh:aol at: 1-Feb-2003 15:01

Joel:
> How about another go?
My pleasure! But something tells me you won't like this either. Using the same logic as before but with a temporary variable: temp: head remove maximum-of reduce [a b c] max temp/1 temp/2 Or (another one you won't like) the median is what is left if you remove the maximum and the minimum. If I can't "pick ... 1" to convert the integer in a block to an integer, I'll do it the hard way: to integer! form head remove minimum-of head remove maximum-of reduce [a b c] More broken spirits!? Sunanda.