|
-
Feb 24th, 2003, 06:21 PM
#1
Thread Starter
New Member
(Switch) case ranges
How can I add a range to my case statement.
0 to 200
Thanks,
-
Feb 24th, 2003, 08:07 PM
#2
Frenzied Member
Try this
Case x >= 0 && x <= 200:
I'm not sure if that'll work, but you can try.
Dont gain the world and lose your soul
-
Feb 27th, 2003, 05:13 PM
#3
If C# stays with its ancestor here then it won't work. Use series of if...else if...
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Mar 1st, 2003, 05:53 PM
#4
yay gay
yes, i dont think that's gonna work
\m/  \m/
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|