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

Home » Public Forums » archive » sort ordering
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
sort ordering [message #23689] Fri, 09 February 2001 11:55
Med Bennett is currently offline  Med Bennett
Messages: 109
Registered: April 1997
Senior Member
I'm confused by the following behavior:


> IDL> print,stations[0:9]
> S301 S301 S301 S301 S301 S301 S301 S301 S301 S301
> IDL> print,sort(stations[0:9])
> 5 1 2 3 4 0 6 7 8 9
>

If the elements of certain part of an array are identical, why does IDL
not generate sort indices in ascending order? This has ugly
implications for some programs I am writing. Thanks,

Med Bennett
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: True Color, but !d.table_size eq 64?
Next Topic: Re: sort ordering

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

Current Time: Wed Oct 08 20:02:46 PDT 2025

Total time taken to generate the page: 0.03573 seconds