switch语句的字符串。
Unlike other switch statements, Bash's case runs one set of statements only.
与其他的switch语句不同的是,Bash的case仅运行一组语句。
For instance, XOM often USES switch statements without default blocks when doing table lookups.
例如,XOM在进行表查找的时候经常使用没有default块的switch语句。
The compiler automatically checks these switch statements and generates an error if an instance is not covered.
编译器自动地检查这些switch语句,如果没有覆盖某个实例,会产生错误。
Enumerated values, which you can iterate over and use in switch statements, among other things, are very valuable.
您可以逐个遍历枚举值,也可以在switch语句中使用枚举值,枚举是非常有价值的。
Another similar frequent request is to allow non-constant expressions to appear as case labels of switch statements.
另一个类似的频繁请求是允许非常量表达式显示为switch语句的case标签。
When it receives a new event, the CDebugTarget processes a large set of if and switch statements to determine how to respond.
当它接收到新事件时,CDebugTarget处理大量的if和switch语句来决定如何响应。
You should now understand the basic syntax involved in using switch statements, but there are still a few things you need to know.
现在,您应该已经了解使用switch语句时的基本语法,但是还有一些事情您需要知道。
A good example of this is a process that involves a number of functions, some of which include one or more conditionals, such as if - else and switch statements.
例如涉及多个函数的过程,有些过程包含多个条件,如if-else和switch语句。
A good example of this is a process that involves a number of functions, some of which include one or more conditionals, such as if - else and switch statements.
例如涉及多个函数的过程,有些过程包含多个条件,如if-else和switch语句。
应用推荐