How 2 do switch with multiple case?
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?
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

send2manivannanRank #8,059 · 229 reputationPosted May 17, 2004, 3:15 AM EDT