OT
[1/7] from: rebol665::ifrance::com at: 22-Apr-2002 10:22
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]
Lots of people here were expecting [19.41 15.85].
Patrick
[2/7] from: sunandadh:aol at: 22-Apr-2002 4:49
Patrick:
> Lots of people here were expecting [19.41 15.85].
Maybe 'Sort needs a Gallic refinement <g>
Sunanda.
[3/7] from: carl:cybercraft at: 22-Apr-2002 22:21
On 22-Apr-02, 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]
> Lots of people here were expecting [19.41 15.85].
Ummm - is this something to do with the French elections... ? (:
--
Carl Read
[4/7] 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 ]
[5/7] from: olivier:auverlot:ac-lille at: 22-Apr-2002 14:07
Please, let's not speak about very bad news :-(
Olivier
[6/7] from: rebol665:ifrance at: 22-Apr-2002 17:44
Hi joel,
You are right. My goal with append [] was to force the result to be a block.
I was wrong and it is a confort to learn something from this post.
I apologize to the list for being out of topic expressing my sadness about
the recent development in France with two lines of rebol.
Patrick
[7/7] from: joel:neely:fedex at: 22-Apr-2002 15:37
Hi, Pat,
pat665 wrote:
> ... expressing my sadness about the recent development in
> France with two lines of rebol.
>
I hadn't yet heard the news when I read the original post...
8-(
My sympathies.
-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 ]