If the condition evaluates to FALSE or NULL, the loop is bypassed, and control passes to the next statement.
如果条件的求值结果为FALSE或NULL,那么将绕过循环,并且控制被传递给下一条语句。
If a specific transaction was requested, the second loop kicks in, examining the associated project details and printing them.
如果请求一个特定的交易,就开始第二个循环,检查相关的项目详细信息并输出。
The advantages of adding a loop are that the loop is visible, and that you can control the rate of iterations through the loop if needed.
添加一个循环的好处在于循环是可见的,并且如果需要的话您可以通过循环控制迭代的速率。
If the SIEBEL schema name is not SIEBEL, then the first query in the script and in the loop should be changed accordingly.
如果SIEBEL模式名不是SIEBEL,则应该对脚本和循环中的第一个查询做出相应地修改。
No DOES-HALT program exists. If it did, we would be able to generate contradictions such as the above -- a program that halts when it should loop forever, and that loops forever when it halts.
DOES-HALT永远不会存在,假如它存在的话就会产生上述悖论——当一个程序无限循环时才会停机,并且当它停机时才会无限循环。
For example, if the problem is an endless loop, the UML sequence diagrams show you repeating sequences of calls, and statistical tables show methods that take a long time.
例如,如果问题是死循环,UM l序列图将会显示您在重复调用序列,统计表也会显示方法花费了很长的时间。
But if too much of the sound from the speakers goes back into the mic it goes around and around in a loop getting louder each time.
但如果讲话者发出太多声音,回转回麦克风,环绕并行程一个循环,声音逐次变大。
If I'm iterating from I on the outside, I on the inside, I'm going to start changing the value and I might very well induce an infinite loop but J is okay.
如果我在外面从i开始迭代,或从里面开始迭代,我将开始改变它的值,我可能引起一个无限循环,但是用j是可以的。
You've got a loop, you've got a condition and a Boolean to check if he's touching the edge, and some statements to tell him to shout or to actually turn around.
我们有一个循环,通过一个条件和一个布尔值来判断,是否触到了边缘,还有一些语句,让它回头并咆哮。
So, and similarly, if I take any other loop that avoids the origin, I can find, actually, a surface bounded by it that does not pass through the origin.
类似的,对于任何不经过原点的环路,都能找到一个以之为界的曲面,该曲面不经过原点。
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选项。
And, if this process is applied repeatedly, the entire loop can be collapsed into a single synchronized block with a single "counter=10000000" operation.
而且,如果重复应用这个过程,整个循环将缩水成一个单独的同步块,这个同步块中只有一个 "counter=10000000"操作。
In the next section, if the cluster and shapefile node that has just been printed is the home node, exit the main loop without writing edge or linkage information.
在第二部分中,如果刚刚打印出来的聚类和shapefile节点是主节点,那么退出主循环并且不要编写边或链接信息。
If there are multiple requests, loop through the array of requests and call the doRpc function for each one.
如果有多个响应,通过请求数组循环,为每一个调用dorpc函数。
If the query includes a join, the optimizer must determine the join plan (hash, sort merge, or nested loop), and the order in which tables are evaluated or joined.
如果该查询包含了连接,那么优化器就必须确定连接计划(hash、sortmerge或nestedloop),以及评估或连接表的次序。
They like being in the loop, and you've got a better chance to keep them on your side if they can see steady progress.
他们喜欢参与其中,而且,当他们可以看到稳定的进展时,您就有更大的机会让他们站到您这边来。
In general, a nested loop join with sort composite is favored by the optimizer if the inner index is well-clustered and the inner table is expected to be probed many times.
一般来说,如果内部索引是良好的集群且预测内部表被多次探测,则使用复合排序的嵌套循环联将受到优化器的青睐。
If you have a current passing in the loop that causes a magnetic field and, in turn, for the other equation that causes an electric field, which in turn causes a current.
如果有一个电流通过线圈,并激发出磁场,相应的,根据另一个方程激发出电场,并产生电流。
And, of course, you could take, if your loop doesn't move over time, I mean there is a different story if you start somehow taking your wire and somehow moving it inside the field.
当然,你会看出来,如果线圈不随着时间移动,也就是以某种方式改变线圈的运动,情况就不同了。
If a matching user name was found, the next for loop discards the least-significant portion of the timing interval between keystrokes and builds a new array g_sig with the timing values.
如果找到匹配的用户名,则下一个for循环将丢弃击键之间最不重要的计时间隔部分并用计时值构建一个新数组g_sig。
This will be the easiest way to do audio if you don’t require any background music (I guess you could do a nasty hack and loop a 30 sec clip but that would be shameful ).
如果你不要求任何背景音乐,这将是最容易的播放音频的方式了。
Close the if statement, file loop, SFTP connection, and SSH session.
结束if语句、文件循环、SFTP连接和SSH会话。
If the probes had been placed at the start and end of the while loop, a number of operations unrelated to the actual calculation of the primes would have been included.
如果把探测放在while循环的开头和末尾,就会包含许多与素数的实际计算无关的操作。
And "Discover Python, Part 5" introduces the concept of compound statements in Python, and the if statement and the while loop.
“探索python,第5部分”介绍了Python中复合语句的概念,并介绍了if语句和while循环。
The main program is nothing more than a loop to get the current stock price, check to see if it's in band, and, if not, send an E-mail alert to the user.
主程序只是一个循环,用来获得股票的当前价格,检查价格是否在所限定的范围内,如果不在就发送e - mail警告来提醒用户。
After setting up some temporary variables a for loop will process each of those span elements, and the contents will be written out if the text is encrypted.
临时变量设置完成后,一个for循环将处理每个span元素,并在文本加密后删除这些内容。
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循环)中的表达式可以很复杂。
It doesn't take much, actually, to enable the possibility of doing everything possible (a "loop" and an "if").
其实,要实现做任何可能做到的事的可能性并不复杂(只要用一个“loop”和一个“if”就可以了)。
This article has introduced three Python program statements: the if statement, the while loop, and the for loop.
本文介绍了三种Python程序语句:if语句、while循环和for循环。
This article has introduced three Python program statements: the if statement, the while loop, and the for loop.
本文介绍了三种Python程序语句:if语句、while循环和for循环。
应用推荐