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

Home » Public Forums » archive » Re: CASE statments
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: CASE statments [message #4470] Wed, 21 June 1995 00:00 Go to previous message
wart is currently offline  wart
Messages: 8
Registered: March 1995
Junior Member
In article <3s7m2p$i5v@hacgate2.hac.com>,
Mike Schienle <rep2857@sbsun0010.sbrc.hac.com> wrote:
> Cc'd to wart@dice.ugcs.caltech.edu
>
> Yup. Here you go:
>
> Case 1 of
> (Event.id eq red_text or $
> Event.id eq grn_text or $
> Event.id eq blu_text): begin
> ; stuff
> end
> Endcase
>
> The "1" in the opening case line acts as a "true". The first statement
> that evaluates to true/1 will be run.

Thank you much! that works great.

--Wart
[Message index]
 
Read Message
Read Message
Previous Topic: routines to map raw weather obvervations?
Next Topic: NCAR GBYTES/SBYTES equivalent in IDL?

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

Current Time: Thu Oct 09 23:09:13 PDT 2025

Total time taken to generate the page: 0.71920 seconds