can you use ranges in a switch statement
eg,
case 1 to 5:
case 20 to 30:
or even
case 1 or 2:
cheers
John
can you use ranges in a switch statement
eg,
case 1 to 5:
case 20 to 30:
or even
case 1 or 2:
cheers
John
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Number ranges in Switch/Case
|
0 | 74 | June 1, 2004 | |
Number ranges in Switch/Case | 0 | 74 | June 1, 2004 | |
Switch statement range EX: case 90 to 100 | 2 | 74 | February 18, 2004 | |
Using Cases! | 0 | 42 | September 15, 2008 | |
Switch with range rather then single value?
|
0 | 77 | January 16, 2007 |
:: Copyright KIRUPA 2024 //--