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

Home » Public Forums » archive » SOLVED Re: 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
SOLVED Re: puzzled with WHERE [message #21642] Wed, 06 September 2000 22:49
Henk is currently offline  Henk
Messages: 7
Registered: September 2000
Junior Member
Sorry, stupid. one-dimensional array is not the same as a simple float
value.
Can't IDL solve this ?

"Henk" <deckard_007@deja.com> wrote in message
news:8p7gtq$nga$1@naxos.belnet.be...
> 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: puzzled with WHERE
Next Topic: Re: Gettng a widget screenshot?

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

Current Time: Wed Oct 08 11:45:54 PDT 2025

Total time taken to generate the page: 0.00605 seconds