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

The largest of three numbers

 [1/4] from: mgkiourt::otenet::gr at: 2-Oct-2001 11:16


Could you provide the code? Thanks.Mike

 [2/4] from: hallvard:ystad:helpinhand at: 2-Oct-2001 13:11


print maximum (maximum value1 value2) value3 ~H Du skrev (Tuesday 02.10.2001, kl. 10.16):

 [3/4] from: petr:krenzelok:trz:cz at: 2-Oct-2001 13:55


Hallvard Ystad wrote:
> print maximum (maximum value1 value2) value3
maximum-of [value1 value2 value3] HTH, -pekr-

 [4/4] 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
<<quoted lines omitted: 24>>
>[rebol-request--rebol--com] with "unsubscribe" in the >subject, without the quotes.
- martin

Notes
  • Quoted lines have been omitted from some messages.
    View the message alone to see the lines that have been omitted