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

Home » Public Forums » archive » Case statement 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
Case statement question [message #42837] Tue, 22 February 2005 15:31
Michael Wallace is currently offline  Michael Wallace
Messages: 409
Registered: December 2003
Senior Member
case x of
0: do_this()
1: do_that(x)
2: do_that(x)
3: do_that(x)
4: do_that(x)
5: do_that(x)
6: do_that(x)
7: do_that(x)
8: do_that(x)
9: do_that(x)
10: do_something_else()
11: do_something_more()
endswitch

Is there a way to group 1 - 9 into a single expression rather than
having to list each distinct number in the range?

-Mike
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: XML Question
Next Topic: Re: XML Question

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

Current Time: Sat Oct 11 06:02:47 PDT 2025

Total time taken to generate the page: 0.24116 seconds