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

Home » Public Forums » archive » puzzled with WHERE
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
puzzled with WHERE [message #21646] Wed, 06 September 2000 22:40
Henk is currently offline  Henk
Messages: 7
Registered: September 2000
Junior Member
Hi,

Can someone explain this behaviour to me please :

Consider this little program :

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

the output is '0' while I was expecting '0 1 2 3 4 5 6' .
What am I doing wrong here ?

Thanks,

Henk
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Standalone executables (was Origin of IDL)
Next Topic: SOLVED Re: puzzled with WHERE

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

Current Time: Wed Oct 08 13:46:54 PDT 2025

Total time taken to generate the page: 0.00412 seconds