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

Home » Public Forums » archive » Re: A strange error 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: A strange error with WHERE [message #67479 is a reply to message #67476] Thu, 30 July 2009 20:50 Go to previous messageGo to previous message
Lindzen is currently offline  Lindzen
Messages: 4
Registered: July 2009
Junior Member
On 7月31日, 上午11时44分, David Fanning <n...@dfanning.com> wrote:
> Lindzen writes:
>> However, there is nothing wrong with the assumption. I selected one
>> case which fits the IF assumption, and checked the code line by line.
>> Even if I delete the IF line, the error still exist.
>> HELP, lon_left shows that lon_left is a flot.
>> PRINT,lon_left shows the exact value of 117.25.
>> That is why I think it is strange.
>
> Well, I think there are no values in lon_aoc
> that are greater than or equal to lon_left. Have
> you checked that? :-)
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")

It's not that problem. Please see below:

PRINT, WHERE(lon_aoc ge 117.25)
1708 1799 .....
PRINT, WHERE(lon_aoc ge lon_left)
-1
PRINT, lon_left
117.25

Well. Maybe I need to check whether there exist strange characters in
the code, although it is almost impossible.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: workbench stops responding
Next Topic: Re: make_rt for 32 and 64 bit applications?

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

Current Time: Mon Dec 01 01:29:46 PST 2025

Total time taken to generate the page: 1.43878 seconds