• 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语句可以用于模拟其他一些语言中的switch case语句

    youdao

  • Jumping into a statement expression with goto or using a switch statement outside the statement expression with a case or default label inside the statement expression is not permitted.

    允许使用switch语句或是goto跳入到声明表达式中。

    youdao

  • Within the switch statement of the tcp_usrreq function, the case for PRU_LISTEN checks if the socket is bound to the port.

    tcp_usrreq函数切换语句中,PRU_LISTEN的实例检查接字是否绑定端口

    youdao

  • We experimented with different uses for pattern matching, a powerful improvement on the familiar case-switch statement.

    我们实验不同模式匹配,作为我们熟悉case-switch 指令的一种强大增强。

    youdao

  • A little trick of using a dictionary as a switch statement is used here (although the otherwise case remains too narrow in the example).

    在这里我们使用技巧就是一个字典作为一个switch语句(尽管示例中的otherwise情况还是狭窄了)。

    youdao

  • 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).

    其他有用经验法则:一个函数如果判断循环语句通常效率的。(除非通常情况循环语句或判断语句不会执行)。

    youdao

  • 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).

    其他有用经验法则:一个函数如果判断循环语句通常效率的。(除非通常情况循环语句或判断语句不会执行)。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定