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