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

Home » Public Forums » archive » Help needed for a CASE statement, something subtle going on ...
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: Help needed for a CASE statement, something subtle going on ... [message #87782 is a reply to message #87780] Wed, 26 February 2014 16:23 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Phillip Bitzer writes:

> Then don't listen to this :-)
>
> If you absolutely *must* you can do this in a script. Here's the 1970's syntax (it's not pretty and *very* cumbersome)
>
> CASE x OF & $
> 1: print, 'one' & $
> 2: print, 'two' & $
> 3: print, 'three' & $
> 4: print, 'four' & $
> ELSE: print, 'not one through four' & $
> ENDCASE
>
> Again, this should be a last resort.

I used to be one of thorough people, too. But, over the years, I've
learned to give people just enough information to move one step forward.
That's about all they can handle and stay productive. ;-)

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Wrapping image on polar projection
Next Topic: Re: Guide: how to call Fortran from IDL in a portable and stardard F 2003 way

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

Current Time: Wed Oct 08 18:26:19 PDT 2025

Total time taken to generate the page: 0.00204 seconds