Yes, sorry, I oversimplified it for the email... Normally the data would be such that 
you would use a /skip/all combination. You are correct.

Here's a better example:

data: [ abc ["name" 123] def ["fred" 345] ]
sort/skip/compare/all data 2 func [a b] [a/2/1 < b/2/1]

At 9/8/02 03:05 PM +0200, you wrote:
>Hi
>
> > > 3) The /ALL refinement allows you to sort more complex data,
> > > for example, by data fields within blocks:
> > >
> > >    data: [ ["name" 123] ["fred" 345] ]
> > >    sort/compare/all data func [a b] [a/2 < b/2]
> > >
> > > Perhaps you already know all this... but, I figured, what the
> > > heck...
> >
> > I did not and yes that's very cool.
>
>Or there is something i do not understand, or the Carl example is wrong (!).
>I do not see here any difference in using ALL.
>Like changes doc of Core 2.5 explains, ALL must be used with SKIP:
>
>"/all Used in combination with the /skip refinement. [NEW] By default only a
>single field in a record is used for comparison. If the /all refinement is
>used then all fields in a record are used for comparison."
>
>---
>Ciao
>Romano
>
>
>
>-- 
>To unsubscribe from this list, please send an email to
>[EMAIL PROTECTED] with "unsubscribe" in the 
>subject, without the quotes.

-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to