• The while loop, as was the case with the if statement, supports an optional else clause containing a block of program statements executed when the expression is False.

    while循环if语句一样,支持可选else子句,其中包含表达式计算为False时执行程序语句

    youdao

  • For a while loop, however, this means the code in the else clause is executed once, after the loop is terminated (see the pseudocode shown in Listing 7).

    但是对于while循环意味着循环终止else子句中的代码执行一次(参见清单7中的伪代码)。

    youdao

  • Selecting any mapping statement in the Script Pane shows all source and target mappables referenced in the statement, such as mapping source, loop iterator, condition, where clause, and so on.

    Script窗格中选择任何映射语句将显示语句所引用所有目标映射对象,映射源、循环迭代器条件where子句,等等。

    youdao

  • This makes the SELECT clause a code loop.

    使select子句成为代码循环。

    youdao

  • One special feature of the break statement is that it breaks completely out of the loop, thereby skipping any else clause that follows the loop.

    break语句特殊特性完全中断循环跳转循环下面的任一else子句。

    youdao

  • The expression used in the if statement (and in the elif clause and the while loop discussed later in this article) can be as complex as necessary.

    if语句(以及本文后面讨论elif子句while循环)中的表达式可以很复杂。

    youdao

  • Once the code has iterated over all the elements in the tuple, it enters the else clause of the for loop, which prints out the value of the count variable.

    一旦代码已经迭代tuple中的所有元素进入for循环else子句打印count变量的

    youdao

  • At this point, the break statement causes program execution to break out of the while loop, skipping the else clause.

    此时break语句导致程序执行中断while循环,跳转到else子句。

    youdao

  • Listing 7 defines a sequence of names, and then USES a for clause to loop through this sequence, retrieving each name and adding it to a node collection.

    清单7定义序列然后使用一个for子句序列,获取每个名称添加到节点集合中。

    youdao

  • Listing 7 defines a sequence of names, and then USES a for clause to loop through this sequence, retrieving each name and adding it to a node collection.

    清单7定义序列然后使用一个for子句序列,获取每个名称添加到节点集合中。

    youdao

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

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

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