comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » matching lists
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: matching lists [message #43382 is a reply to message #19300] Wed, 06 April 2005 18:42 Go to previous messageGo to previous message
JD Smith is currently offline  JD Smith
Messages: 850
Registered: December 1999
Senior Member
On Wed, 06 Apr 2005 19:07:40 -0600, David Fanning wrote:

> JD Smith writes:
>
>> I'm on 6.1.1 Linux, and I get:
>>
>> IDL> print,sort([1,1])
>> 0 1
>>
>> Anybody else get Dick's behavior?
>
> I'm guessing the Astronomy Library routine uses BSORT,
> avoiding the SORT problem altogether.
>
> Cheers,
>
> David
>
> P.S. Microsoft is notorious for this SORT problem, is
> what I hear.

Well, technically either answer is correct, since sorting two equal
elements can be done in either order. MATCH uses regular SORT, but just
keeps it's own index lists to avoid this problem.

JD
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: ION Question
Next Topic: _EXTRA keywords not noticed

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 12:37:08 PDT 2025

Total time taken to generate the page: 1.43791 seconds