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

Home » Public Forums » archive » Re: puzzled with WHERE
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: puzzled with WHERE [message #21633] Thu, 07 September 2000 09:14
John-David T. Smith is currently offline  John-David T. Smith
Messages: 384
Registered: January 2000
Senior Member
Henk wrote:
>
> Hi,
>
> Can someone explain this behaviour to me please :

Gotta watch for those 1-element arrays.

Try:

xlist = findgen(1000)
ylist = findgen(1000)
index = where (xlist EQ ylist[6])
print, where(ylist LE xlist[index[0]])

--
J.D. Smith /*\ WORK: (607) 255-6263
Cornell University Dept. of Astronomy \*/ (607) 255-5842
304 Space Sciences Bldg. /*\ FAX: (607) 255-5875
Ithaca, NY 14853 \*/
[Message index]
 
Read Message
Previous Topic: Re: Horrible map reprojections
Next Topic: geometric mean?

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

Current Time: Sun Oct 12 12:07:23 PDT 2025

Total time taken to generate the page: 0.72035 seconds