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语句中使用枚举值,枚举是非常有价值的。
It's hard to mention enumerated types without mentioning switch statements, because they often go hand in hand.
提及列举的类型而没有提及开关叙述是不可能的,因为他们经常在一起。
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语句时的基本语法,但是还有一些事情您需要知道。
You already have a little information from the grammar: the bigram format calls for two switch statements, which are the minors nested inside the majors.
您已经有了一些来自文法的信息:二元语法格式需要两个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语句。
Another useful rule of thumb: it's typically not cost effective to inline functions with loops or switch statements (unless, in the common case, the loop or switch statement is never executed).
其他有用的经验法则:一个函数如果有判断或循环语句通常是没效率的。(除非在通常的情况下循环语句或判断语句不会执行)。
Logic statements like WHILE and SWITCH that allow flexible business processes that can change process flow based on the specific case.
像WHILE和SWITCH这样的逻辑语句,提供了灵活的业务流程,可以根据特定的情况改变流程。
Although it isn't the optimal solution, multiple elif statements can be used to mimic the switch case statement present in some other languages.
尽管它不是最优的解决方案,但是多个elif语句可以用于模拟其他一些语言中的switchcase语句。
Most of the time, you want to avoid the problems of “switch” statements that know a class hierarchy, because they have to be modified every time the hierarchy is changed.
大多数时候,你希望能够在清楚类结构的时候避免“switch”语句,因为它们必须在每次结构改变的同时被改变。
Conditional constructs such as if, switch, while, and for statements are each given a value of 1, along with exception paths.
每一个条件构造,如if、switch、while和for语句,都被分配一个1值和异常路径。
Conditional constructs such as if, switch, while, and for statements are each given a value of 1, along with exception paths.
每一个条件构造,如if、switch、while和for语句,都被分配一个1值和异常路径。
应用推荐