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

[REBOL] Re: The largest of three numbers

From: martin:middleton:speechworks at: 2-Oct-2001 13:11

I found I had to use "first", otherwise the series is returned beginning at the largest value:
>> maximum-of [2 65 34 78 12 4 7 9]
== [78 12 4 7 9]
>> first maximum-of [2 65 34 78 12 4 7 9]
== 78 At 07:55 AM 10/02/2001, you wrote:
>Hallvard Ystad wrote: > > > print maximum (maximum value1 value2) value3 > >maximum-of [value1 value2 value3] > >HTH, >-pekr- > > > > > > > ~H > > Du skrev (Tuesday 02.10.2001, kl. 10.16): > > > > >Could you provide the code? > > >Thanks.Mike > > > > > >-- > > >To unsubscribe from this list, please send an email to > > >[rebol-request--rebol--com] with "unsubscribe" in the > > >subject, without the quotes. > > > > Praetera censeo Carthaginem esse delendam > > > > -- > > To unsubscribe from this list, please send an email to > > [rebol-request--rebol--com] with "unsubscribe" in the > > subject, without the quotes. > >-- >To unsubscribe from this list, please send an email to >[rebol-request--rebol--com] with "unsubscribe" in the >subject, without the quotes.
- martin