clive908

clive908

  • NA
  • 7
  • 0

how 2 do switch with multiple case?

May 14 2004 11:42 AM
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)