For-each loop: When iterating over an array, the compiler generates an induction variable and the standard array iteration idiom.
for - each循环:当迭代数组时,编译器生成归纳变量和标准的数组迭代语法。
You will recall that DataTables execute an implicit loop over their rows, and the var attribute indicates the value of the current row during the iteration.
您将再次调用 DataTables 对各表行执行隐式循环,var属性指示迭代过程中的当前行。
However, you will now need to explicitly loop over the database query result object to create the table rows and add the Edit option.
不过,现在需要显式地对数据库查询结果对象进行循环以便创建这些表的行并添加Edit选项。
A variable in a loop or list comprehension ranges over the elements of a list, or a collection of objects.
循环或列表中的变量包括了列表或对象集合的所有元素。
There's more: the for loop can be utilized to iterate over any object that supports the iteration metaphor, which makes the for loop very powerful.
还有更多信息:for循环可以用于迭代支持迭代metaphor的任何对象,这使for循环非常有用。
Next we loop over the result set and create the Web page using the PHP code.
然后在结果集中循环并使用PHP代码创建We b页。
In both of these functions, you loop over the warnings or exceptions.
在这两个函数中,循环处理警告或异常。
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.
然后,我们将遍历列(第一次循环)并将其余的标题栏单元格添加到该行,并在遍历结束之后将该行添加到提供程序。
We just loop over the characters of the text and add a new style range to this text presentation instance for each XML tag found in the text.
我们只需循环遍历该文本的字符,针对从该文本中找到的每个XML标签,我们向它的这个文本展示实例添加一个新的样式范围。
So far, the examples have taken a procedural approach: the algorithm is akin to a loop over the entire document.
目前为止,示例采用的是过程性方法:这种算法无非是在整个文档上进行循环。
Next, to implement the view, we simply loop over the view data and spit it out in the right format.
接下来实现视图,我们只是对视图的数据进行了循环,并以正确的格式输出。
All that's left to do now is to loop over the collection, printing the content, author, and publication date of each.
现在所有剩下要做的就是迭代通过集合,打印出每个帖子的内容、作者和发布日期。
Delaying, putting off things, slacking, hiding from work, facing work only when it's unavoidable, then repeating this loop all over again.
推迟、拖踏、松懈、隐藏工作、只到不可避免的时候才去面对工作,然后又是完全重复这一怪圈。
And when they're not perfecting the art of writing bowling games over and over again, they just might hit the database in loop.
如果他们不一遍又一遍的提高自己编写保龄球游戏代码的技巧,他们很可能会让数据库陷入死循环。
The simplest approach is always to treat the return value as an array and loop over it.
最简单的办法是将返回值永远看作一个数组并循环遍历该数组。
The board should have ropes attached to each end so you can loop it over your neck.
木板两端要与与绳索相连,使绳索能够缠绕过你的脖子。
The test program calls each method repeatedly with a large loop count, averaging the time measurements over several calls.
测试程序重复调用每种方法,使用一个大循环数,从而平均多次调用的时间衡量结果。
After getting the answers, item viewers are created in a loop over these answers.
在获取答案之后,将通过遍历这些答案创建项查看器。
The top loop in the algorithm iterates over the list of XML elements and attributes that may appear in the XML document.
该算法中的顶层循环对可能出现在XML文档中的xml元素和属性的列表进行迭代。
Hook: Groundhog Day meets Inception, when a government agent finds himself traversing the same time loop over and over - in someone else's body.
看点:《盗梦空间》里的《偷天情缘》,特工陷入时间无限循环——还是在别人的身体里。
This loop iterates over the array, ARGV, which is the remaining set of arguments passed to the script on the command line.
该循环在数组ARGV 上迭代,它是在命令行传递给脚本的余下的参数集合。
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.
当然,你会看出来,如果线圈不随着时间移动,也就是以某种方式改变线圈的运动,情况就不同了。
It's cut short and has stirrups that loop over the feet, creating a stretch that stresses the legs and pulls slightly at the shoulders.
这是种剪短设计,有一个马镫形支架包裹着脚部,并延伸至肩部拉紧。
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循环遍历每个限制组中的服务器。
You use a foreach() loop to iterate over the resulting object collection, as in Listing 3, to produce output equivalent to that of Listing 4.
您使用foreach()循环来迭代通过得到的对象集合,如清单3中所示,以产生等价于 清单 4中的输出。
Bindra's medal ceremony played in a ceaseless loop on Indian television, and strangers exchanged hugs over the accomplishment.
电视上反复地播放Bindra的金牌颁奖仪式,陌生人拥抱在一起庆祝他的胜利。
The previously declared rss-summary function uses a for loop to iterate over each item by using the XPath specification to select each item.
通过使用XPath规范,前面声明的rss-summary函数使用了一个for 循环在每个项上进行迭代,以便选择每个项。
The list control construct is similar to a for-each loop: it iterates over a collection and for each item in the collection it renders its body.
list控件的结构与for- each循环类似:它会遍历一个集合,对于集合中的每个项目,它都会进行渲染。
Figure 6 shows a while loop (manufacturing loop) that iterates over each order, selecting the correct manufacturing plant and submitting each order to the selected manufacturing plant.
图6显示了一个while循环(ManufacturingLoop),迭代每个订单,选择正确的生产厂家并且将每个订单提交给所选的生产厂商。
Then the last for loop in that section iterates over that quasi-RSS list, sorts the items, and uses the rss-row() function to the format the information.
然后,这一部分中的最后一个for 循环将在这个准 RSS列表上进行迭代,对项进行排序,并使用 rss-row()函数对信息进行格式化。
应用推荐