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

Home » Public Forums » archive » WHERE problems (longish)
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: Where problem [message #69672 is a reply to message #35914] Thu, 04 February 2010 01:33 Go to previous message
Foldy Lajos is currently offline  Foldy Lajos
Messages: 268
Registered: October 2001
Senior Member
On Thu, 4 Feb 2010, Dave_Poreh wrote:

> Folks
> I can?t solve this problem. Will somebody tells me what is going on?
> x=findgen(100)
> y=[30,40,50,80]*1.0
> index=where(x eq y)
> but every time gives me:
>> index=-1
> Any help highly appreciated
> Cheers
> Dave
>

Try 'help, x eq y' and 'print, x eq y'.

('x eq y' is equivalent to '[0.,1.,2.,3.] eq [30.,40.,50.,80.]')

regards,
lajos
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: questions onn symbol and fonts
Next Topic: File Delete -- Friggin A!!

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

Current Time: Tue Dec 02 00:33:30 PST 2025

Total time taken to generate the page: 0.31518 seconds