1
Reply

how 2 do switch with multiple case?

clive908

clive908

May 14 2004 11:42 AM
1.6k
I have a complex switch statement to build. In Delphi or VB I was able to do something like this: switch (cValidChar) { case 32 - 127, 176, 196, 198, 197, 214, 216, 181, 228, 230, 229, 246, 248: return true default: return false } How do I do this without a tower of case labels?

Answers (1)