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

Home » Public Forums » archive » Re: Simple question about the '>' sign.
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: Simple question about the '>' sign. [message #69709 is a reply to message #69708] Sat, 30 January 2010 12:38 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
munka writes:

> I came across this line:
>
> Y=( B - A*6)>0.
>
> is this equal to:
>
> Y=B - A*6
> index=where( Y lt 0., ct)
> if ct ne 0 then Y[index]=0.

No, this is the "greater than" operator. It compares
the two values on either side of the operator and returns
the largest of the two.

> Also, is the decimal point after the 0 significant?

No.

> It would help if
> I could find somewhere that listed all of the symbols. I think I
> found it once,when I had to figure out what the "~" did.... i just
> remember looking for a long time to try to figure out what that symbol
> meant. It is not blatantly obvious, and everything I google doesn't
> come up with the right answers :(

If you use the Index tab of the IDL on-line help and type
a greater than symbol into the Search box, this operator is
the first to appear.

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.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Acuirign Images from a Webcam/Windows
Next Topic: Re: IDL make_dll and unresolved externals

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

Current Time: Wed Oct 08 15:49:48 PDT 2025

Total time taken to generate the page: 0.28424 seconds