3 ms·
How are you supposed to do multiple values in a switch if there is no break command? And why is it that some of the case values in the documentation are follow
by ars 13y ago
How are you supposed to do multiple values in a switch if there is no break command?
And why is it that some of the case values in the documentation are followed by "then", and some are not? It seemed random.
- randartie 13y agoPerhaps it's similar to Go where the default is to break, and you have to explicitly say pass.