To avoid infinite iterations of LOOP statements, new EXIT and CONTINUE options to the IF statement are valid within LOOP statements.
为了避免loop语句的无限次迭代,在loop语句中可以使用IF语句的新exit和CONTINUE选项。
They also facilitate migration to IDS of routines written in the procedural languages of other database servers that support GOTO and LOOP statement syntax.
对于用支持GOTO和loop语句语法的其它数据库服务器上的过程语言编写的例程,SPL语言中的语句标签、GOTO和loop语句也可以为它们到IDS的迁移提供便利。
The new support for statement labels and the GOTO and loop statements provide greater flexibility in iterating and in exiting from statement loops in SPL routines.
对语句标签以及GOTO和loop语句的新支持为SPL例程中的迭代和退出语句循环提供了更大的灵活性。
Unfortunately, because the loop branch is so close to the return statement, you cannot predict both the loop branch and the return branch.
不幸的是,由于循环分支太接近返回语句,因此您无法预测循环分支和返回分支。
With such plumbs, you can target the statement, loop, function, class, or library that is most sluggish.
有了这种垂直度,就可以将语句、循环、函数、类或者是运行缓慢的库作为分析目标。
If the condition evaluates to FALSE or NULL, the loop is bypassed, and control passes to the next statement.
如果条件的求值结果为FALSE或NULL,那么将绕过循环,并且控制被传递给下一条语句。
We could have used a prepared statement and just reset the data each time, but we decided to recreate it for each iteration of the loop here for completeness.
我们本可以使用一个预编译语句并且每次重新设置数据,但是为了保持完整性,我们决定在每次循环的时候重新创建它。
If the condition evaluates to TRUE, the statement list is executed, then control resumes at the top of the loop.
如果条件的求值结果为TRUE,那么就将执行语句列表,在循环的顶部恢复控制。
The GOTO label statement can unconditionally exit from a loop and transfer control to the executable statement or statement block that follows the specified statement label.
GO TO标签语句可以无条件地退出循环,并将控制权转移到跟在指定的语句标签之后的可执行语句或语句块。
When a for statement is executed, a cursor is implicitly declared such that for each iteration of the for loop, the next row is the result set if fetched.
在执行for语句时,游标被隐式声明,这样对于FOR循环的每一次迭代,取回的下一行就是结果集。
You can place a print statement within the loop to verify that data indeed exists at each element in the foreach loop.
可以在循环中放一个print语句,检验在foreach循环中每个元素中是否确实存在数据。
Of course, you can run loops backward instead of forward, or increment the loop counter by something other than 1, or even eliminate the loop counter completely as you do in a while statement.
当然,也可以反向而不是正向运行循环,或者使用1之外的循环计数器增量,甚至像while语句那样完全取消循环计数器。
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子句。
The REPEAT statement defines a set of statements to be executed until a condition that is evaluated at the end of the REPEAT loop is true.
REPEAT语句定义了一个语句集合,如果在 REPEAT循环结束时某个条件的求值结果为 true,那么就将执行这个语句集合。
As discussed in the previous article, the continue statement causes the containing loop to start the next iteration.
如前面的文章中所述,continue语句使包含它的循环开始下一次迭代。
The WHILE statement defines a set of statements to be executed until a condition that is evaluated at the beginning of the WHILE loop is false.
while语句定义了一个语句集合,如果在WHILE循环开始时某个条件的求值结果为false,那么就将执行这个语句集合。
When using this technique, the while (1); statement must be stripped at the client before using the JSON data to avoid an endless loop.
使用这种技术时,这个while(1);语句必须在使用该JSON数据之前在客户端上剥离,从而避免无限循环。
This is actually what the statement looks like once the compiler converts it internally to a normal for loop.
以下是编译器把该循环转换成普通的for循环之后,语句实际看起来的样子。
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子句,等等。
The main method USES an enhanced for loop to iterate through the different primitives and a simple switch statement on the current instance to set the size value of each primitive.
main方法使用增强的for循环来迭代通过不同的原语,并在当前实例上使用一个简单的switch语句来设置每个原语的大小值。
The getopts command returns true if an option is found, so a common option processing paradigm uses a while loop with a case statement as in this example.
如果找到一个选项,则getopts命令返回true,因此常见的选项处理范例使用带case语句的while 循环,本例中就是如此。
The next statement in the loop body is a second if statement that tests whether the variable I is evenly divisible by 125, but this expression is preceded by the not operator.
循环体中的下一个语句是第二个if语句,它测试变量i是否能被125整除,但是该表达式前面加了一个not运算符。
A while loop within bash allows you to execute a statement a given number of times, or until a certain condition is met.
bash中的while循环可以重复执行语句一定的次数,或者一直执行到满足某一条件为止。
The second type of flow control statement in Python is the while loop, which executes a block of program statements while an expression evaluates True.
Python中的第二种流控制语句是while循环,它在一个表达式计算为True时执行一个程序语句块。
Oracle also allows cursors to be tightly bound to a looping statement, a construct called a cursor FOR loop.
Oracle还允许将游标与一个循环语句紧密地绑定在一起,形成所谓的游标FOR循环结构。
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时执行的程序语句块。
When the FETCH cursor statement fails and does not find another row to retrieve, the value of SQLSUCCESS is set to 0 and the WHILE LOOP ends.
当FETCH游标语句失败并且没有找到另一个要检索的行,SQLSUCCESS的值被设置为 0 并且WHILE LOOP 结束。
This causes the break statement to be executed, breaking out of the loop.
这导致执行break语句,中断循环。
You actually know whether the number is prime or not, immediately after the end of the for loop, even though you don't use the determined value until the if statement.
在for 循环结束之后,就已经知道数字是否是素数,尽管在 if 语句之前并不使用判断结果。
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循环)中的表达式可以很复杂。
应用推荐