Pendulum return, loop-the-loop, escape velocity.
钟摆回摆;转圈圈;逃逸速度。
The while loop (like the for loop introduced later in this article) supports three additional statements
while循环(与本文后面介绍的for 循环一样)支持三种附加语句
But even with the simplicity of this loop construct, you can build any complex loop.
然而仅仅使用简单的循环结构,您也能构建任意复杂的循环。
Because the hint is before the loop body, this code leaves your hint active for every iteration of the loop, but it only has to use one cycle.
由于提示位于循环体之前,因此这段代码将使提示对于循环的每次迭代都保持活动状态,不过它只使用了一个周期。
In cases where a break combination is part of an alternative or a loop, then only the alternative or loop is exited.
在这种情况下,跳转组合是变体或者循环的一部分,然后只是变体或循环被退出。
All four variables are declared outside the loop and therefore have excessive scope even though they're only used inside the loop.
所有这四个变量都是在循环外声明的,尽管它们仅在循环内部使用,但作用域不止于此。
Then we loop over columns (first loop) and add the rest of the header cells to this row and add the row to the provider after the looping is done.
然后,我们将遍历列(第一次循环)并将其余的标题栏单元格添加到该行,并在遍历结束之后将该行添加到提供程序。
The loop in this sequence diagram USES a Boolean test to verify if the loop sequence should be run.
如果循环序列应该运行,这个序列图的循环使用一个布尔测试确认。
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.
添加一个循环的好处在于循环是可见的,并且如果需要的话您可以通过循环控制迭代的速率。
Remember also that each iteration through the loop wastes time, so rather than working through the same loop a number of times, try to perform all the actions in one pass through the loop.
还要记住的是,在循环中,每次反复都是在浪费时间,因此不要多次使用相同的循环,而是要尽量在一个循环中执行所有的操作。
Like any software reading a file, the parser is built around a reading loop: a loop that progresses through the file.
和读取文件的任何软件一样,解析器也是围绕着读循环(读入文件的循环)创建的。
As the loop progresses, each record is wrapped in its own directory entry tags; after the loop is complete, the setup for the buttons begins.
循环进行时,每条记录都被封装到记录自己的目录条目标记中;循环完成后,按钮的设置就开始了。
Unfortunately, because the loop branch is so close to the return statement, you cannot predict both the loop branch and the return branch.
不幸的是,由于循环分支太接近返回语句,因此您无法预测循环分支和返回分支。
The reasonable approach is to do the basic flow once, do a loop once, and then do a loop a second time.
最合理的方法是做一遍基本流程,一遍循环流程,然后再做一遍循环流程。
This means the program statements executed in the loop body must change the value of the expression — or else the loop will never end.
这意味着循环体中执行的程序语句必须要改变表达式的值,否则循环将无法结束。
Your code should (almost) never have multiple nested loops (a loop inside a loop inside a loop). Most of the code written today should use Hashtables, simple lists and singly nested loops.
在编写代码时应尽量避免嵌套循环,目前大多数代码都是使用了哈希表、简单链表和单循环。
The routing between the general step (with no name) and While Loop contains logic that corresponds with the loop condition.
通用步骤(没有任何名称)和While循环之间的路由包含与循环条件对应的逻辑。
Now instinctively, prefer the for loop or the while loop?
现在凭感觉,你们喜欢for循环还是while循环?
A while loop is a loop that repeats the included activities while some condition is satisfied.
一个while循环在满足一些条件的情况下,将重复所包含的活动。
The outer collect loop iterates over these reservation groups, and the inner collect loop iterates over the servers contained within each restrain group.
外部的collect循环遍历这些保留组,而内部的collect循环遍历每个限制组中的服务器。
The main loop enters an indefinite loop, waiting for events and calling callbacks, until someone calls gtk_main_quit() by closing the window.
主循环进入无限循环,等候事件并调用回调,直到有人关闭窗口,调用 gtk_main_quit() 为止。
The first is loop unrolling, a technique where the instructions called in each iteration of the loop are replicated to form a single sequence.
首先是循环展开(loop unrolling),它是这样一种技术:复制循环的每次迭代所调用的指令以构成一个序列。
This is less "robust" in a sense than OS threads -- but it would not require much extra machinery to catch exceptions inside scheduler()'s loop rather than outside the loop.
这在某种意义上“健壮性”不如OS线程 ―不过在scheduler()的循环内捕获异常不会比在循环外需要更多的机器资源。
Modeler loops are mapped to FileNet constructs for each loop, by having one step to represent the condition check in the loop, and another step to represent the contents of the loop.
Modeler循环映射到每个循环的FileNet构造,方法是使一个步骤表示循环中的条件检查,使另一个步骤表示循环的内容。
In this loop, a new PatientRecord is returned each time the loop is executed.
在该循环中,一个新的PatientRecord在每次执行循环时返回。
The recalculation loop (which recomputes the time slices for the processes) and the goodness loop have been eliminated, and o (1) algorithms are used for wakeup and schedule .
重算循环(为进程重新计算时间片)和goodness循环已经被取消,o(1)算法用于wakeup和schedulee 。
You can place a print statement within the loop to verify that data indeed exists at each element in the foreach loop.
可以在循环中放一个print语句,检验在foreach循环中每个元素中是否确实存在数据。
The Structures folder in the palette now includes a repeat until loop that repeats the activities in the loop container, until a condition is true.
面板中的Structures文件夹现在包括RepeatUntil循环,此循环重复循环容器中的活动,直到某个条件为True。
Since the loop condition is checked before each iteration, the steps in the loop would not run at all if the condition is initially false.
由于在每次迭代之前检查循环条件,因此,如果条件最初为false,则循环中的步骤不运行。
Since the loop condition is checked before each iteration, the steps in the loop would not run at all if the condition is initially false.
由于在每次迭代之前检查循环条件,因此,如果条件最初为false,则循环中的步骤不运行。
应用推荐