+ 1
Switch statements
Is it possible to compare multiple values in an array against a switch statement’s different cases?
1 Antwort
0
Yes:
while (index--) {
...
switch (array[index])
...
}
Is it possible to compare multiple values in an array against a switch statement’s different cases?