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

Home » Public Forums » archive » easy question
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
easy question [message #45759] Thu, 06 October 2005 10:50
ChiChiRuiz@gmail.com is currently offline  ChiChiRuiz@gmail.com
Messages: 32
Registered: October 2005
Member
I'm pretty new to IDL. I've learned that the if-else statement goes
like this:
if (expression) then begin
...
endif else begin
...
endelse

I was wondering what if IDL supports the following (as in Matlab):
if (expression1) then ...
else if (expression2) then...
else if (expression3) then...
...

endif

What's an alternative approach for it? Or I'll need to write a nested
if-else statement?
thanks for your help.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Histogram CLipping
Next Topic: Re: Five days mean values

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

Current Time: Wed Oct 08 17:43:29 PDT 2025

Total time taken to generate the page: 0.00446 seconds