[REBOL] Re: OT
From: joel:neely:fedex at: 22-Apr-2002 6:41
Hi, Patrick,
pat665 wrote:
> Hi rebollers,
>
> How to find the two best ?
>
> results: [2.38 1.90 0.47 6.95 19.41 17.19 2.08 4.33 5.31 15.85 1.20 3.44
> 5.39 3.96 5.82 4.32]
> winners: append [] copy/part sort/reverse results 2
> == [19.41 17.19]
>
Why the
append []
part, and not just
copy/part sort/reverse results 2
(just curious)?
-jn-
--
; Joel Neely joeldotneelyatfedexdotcom
REBOL [] do [ do func [s] [ foreach [a b] s [prin b] ] sort/skip
do function [s] [t] [ t: "" foreach [a b] s [repend t [b a]] t ] {
| e s m!zauafBpcvekexEohthjJakwLrngohOqrlryRnsctdtiub} 2 ]