case statement信息详情

case statement发音

意思翻译

[计]选择语句

相似词语短语

statement───n.声明;陈述,叙述;报表,清单

case case───案例案例

case───n.情况;实例;箱;vt.包围;把…装于容器中;n.(Case)人名;(英)凯斯;(西)卡塞;(法)卡斯

anecdotal statement───轶事陈述

customer statement───客户结单,[金融]客户对数单;客户月结报告;[金融]客户对帐单

vision statement───n.愿景宣言; 前景陈述;愿景宣言;远景声明

problem statement───[计]问题陈述;[计] 问题陈述

privacy statement───隐私权声明

disjunction statement───析取语句

双语使用场景

It looks just like a C-style case statement, right?───看起来很像c风格的case语句,对吧?

Listing 30. Example of a case statement in bash.───清单30 . bash中的case语句示例。

Listing 12. The case statement.───清单12 . case语句。

Assume that Color is a String variable and that this variable is a parameter for a method that contains the Select Case statement.───假定Color为一个String变量且此变量是一个包含SelectCase语句的方法的参数。

So, each time this section of code is executed, the $TIME is checked to see if it matches the times of the case statement.───因此,每次执行这个代码段的时候,将检查$TIME是否匹配case语句所指定的时间。

The script starts by parsing parameters and breaking the launch and terminate functions into a case statement.───这个脚本在开头解析参数,将launch和terminate函数调用放到case语句中。

The case statement that matches the constant in the switch expression is only reachable; all other case statements are not reachable.───只能访问与switch表达式中的常数匹配的case语句,而无法访问其他所有case语句。

A case statement allows you to quickly build upon it as your script evolves and needs to perform different tasks.───当您的脚本变得比较复杂、并且需要执行不同的任务时,可以使用case语句迅速地进行构建。

This case matches anything that wasn't matched by the other cases, and should be the last case statement.───它匹配了任何和其它case都不匹配的情况,并且应该是最后一条case语句。

英语使用场景

Consider the code above and realize that any enumerated value not specifically processed by a case statement is instead processed by the default statement.

The case statement is another conditional statement that you can use in place of using an if statement.