接下来,考虑无限循环语句和条件。
Next, we consider the infinite loop statement and conditionals.
SQLPL中支持以下循环语句。
这是用for循环语句。
循环语句将在下一章作具体讲解。
DB 2SQL过程中的循环语句。
对于其他任何条件或循环语句,都不可采用这种方法。
You cannot use this approach with any of the other selection or iteration statements.
循环语句(例如WHILE、LOOP)不能包含fetch语句。
Looping statements (WHILE, LOOP, for example) must not that contain FETCH statements.
通过设置循环语句的不同步长,可达到工艺要求的计量精度。
The metering accuracy required by the process can be realized by setting the different step lengths of recurring sentences.
PHP循环语句的作用是:对同一个代码块执行指定的次数。
Looping statements in PHP are used to execute the same block of code a specified number of times.
相反的,你需要编写一个小的循环语句来反复的更新视图并按帧渲染。
Instead, you'll need to code a small loop that iteratively updates the view and renders a frame.
本节介绍DB2和solidDBSQL过程在循环语句方面的差异。
This section describes the differences in the looping statements of the DB2 and solidDB SQL procedures.
Oracle还允许将游标与一个循环语句紧密地绑定在一起,形成所谓的游标FOR循环结构。
Oracle also allows cursors to be tightly bound to a looping statement, a construct called a cursor FOR loop.
相反,虽然IDSSPL也支持类似的游标循环语句,但是不允许显式地声明、打开或关闭游标。
In contrast, IDS SPL supports a similar cursor looping statement but does not allow cursors to be explicitly declared, opened, or closed.
汇编语言依序执行算术指令,而跳转指令可以通过改变程序计数器的值来执行条件语句和循环语句。
Assembly language instruction sequence perform arithmetic, and jump instruction by changing the program counter value to execute the conditional statement and circular statement.
你也能使用foreach循环语句,它会被编译为类似的代码,其充分利用了Items集合的IEnumerable接口。
You can also use a foreach loop which will be compiled into a similar code leveraging the IEnumerable interface of the Items Collection. Here is now how the new loop is executed internally.
其他有用的经验法则:一个函数如果有判断或循环语句通常是没效率的。(除非在通常的情况下循环语句或判断语句不会执行)。
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).
用线性汇编语言重新设计程序结构优化循环语句,实现读取参考样本、滤波处理和移位裁剪算法的优化,避免重复读取同一个参考样本的情况。
This paper used the linear assembly language to re-design program structure and realized the optimization of reading reference samples, filter processing and transfer of cutting algorithm.
有了这种垂直度,就可以将语句、循环、函数、类或者是运行缓慢的库作为分析目标。
With such plumbs, you can target the statement, loop, function, class, or library that is most sluggish.
如果条件的求值结果为TRUE,那么就将执行语句列表,在循环的顶部恢复控制。
If the condition evaluates to TRUE, the statement list is executed, then control resumes at the top of the loop.
毫无疑问,最常见的调试步骤是设置断点,这样可以检查条件语句或循环内的变量和值。
Undoubtedly, the most common debugging procedure is to set breakpoints that will allow the inspection of variables and the values inside conditional statements or loops.
不幸的是,由于循环分支太接近返回语句,因此您无法预测循环分支和返回分支。
Unfortunately, because the loop branch is so close to the return statement, you cannot predict both the loop branch and the return branch.
对语句标签以及GOTO和loop语句的新支持为SPL例程中的迭代和退出语句循环提供了更大的灵活性。
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.
在清单6中,循环被移出同步语句,所以它可能由多个线程并行执行。
In Listing 6, the loop is out of a synchronized block, so it can be executed by several threads in parallel.
该版本为SPL例程中的语句循环引入了新的spl语句和结构。
This release introduces the new SPL statements and constructs for statement loops in SPL routines.
语句在无限循环中运行。
循环是通过for语句组实现的。
bash中的while循环可以重复执行语句一定的次数,或者一直执行到满足某一条件为止。
A while loop within bash allows you to execute a statement a given number of times, or until a certain condition is met.
Python中的第二种流控制语句是while循环,它在一个表达式计算为True时执行一个程序语句块。
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.
有时候,使用这种语句比嵌套的for循环或if语句更好,可以减少重复的代码而且结构更清楚。
Using such a statement can sometimes be a better route than nested for loops or if statements to cut down on repetitive code or just for better structure.
有时候,使用这种语句比嵌套的for循环或if语句更好,可以减少重复的代码而且结构更清楚。
Using such a statement can sometimes be a better route than nested for loops or if statements to cut down on repetitive code or just for better structure.
应用推荐