+ 1

Switch statements

Is it possible to compare multiple values in an array against a switch statement’s different cases?

11th Jul 2018, 11:14 PM
ThThinka
ThThinka - avatar
1 Réponse
0
Yes: while (index--) { ... switch (array[index]) ... }
12th Jul 2018, 1:00 AM
non