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

Home » Public Forums » archive » Looping over odd values only
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: Looping over odd values only [message #93034 is a reply to message #93028] Wed, 13 April 2016 08:09 Go to previous message
Paul Van Delst[1] is currently offline  Paul Van Delst[1]
Messages: 1157
Registered: April 2002
Senior Member
On 04/13/16 07:48, omar ali wrote:
> Hi,
> I need to make a for loop over odd values only. for example
> for n=0, 15 do begin
> If n eq odd value (1, 3, 5, ... etc) then begin
> calculations
> endif
> endfor
>
> Thanks in advance,

Your question has been answered, but the Harris Docs Center is pretty
good too. See http://www.harrisgeospatial.com/docs/FOR.html

cheers,

paulv
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: How can I make the headers of two fits files same in IDL?
Next Topic: Should SORT(Undefined) give an error message?

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

Current Time: Sat Oct 11 10:13:25 PDT 2025

Total time taken to generate the page: 0.40574 seconds