A one-line loop to print all the environment variables in lowercase, with the first letter uppercase, and sorted.
除首字母大写外、用小写字母打印并排序所有环境变量的单行循环。
A multi-line loop to print all the environment variables in lowercase, with the first letter uppercase, and sorted.
除首字母大写外、用小写字母打印并排序所有环境变量的多行循环。
A one-line loop to print all the environment variables in lowercase, with the first letter uppercase, and sorted, using map.
使用map,并且除首字母大写外、以小写字母打印并排序所有环境变量的单行循环。
A multi-line loop to print all the environment variables in lowercase, with the first letter uppercase, and sorted, using map.
使用map,并且除首字母大写外、以小写字母打印并排序所有环境变量的多行循环。
This loop iterates over the array, ARGV, which is the remaining set of arguments passed to the script on the command line.
该循环在数组ARGV 上迭代,它是在命令行传递给脚本的余下的参数集合。
Improving the performance of this loop is very simple and doesn't even require an additional line of code (see Listing 9).
提高循环性能的方法很简单,甚至不需多加一行代码(见清单9)。
In the example below, imagine that you have a breakpoint at line 22 of the application, within a loop.
在下面的一个范例中,假设您在程序的第22行中有一个中断点。
The loop including line 3 of the listing is working through the keys received, getting a corresponding value, and printing it as an array or a string.
包含清单第3行的循环将遍历接收到的键,获得相应值,并把它作为数组或字符串输出。
Next, you have a PHP foreach loop, which loops through each outputted line and renders it nicely into XHTML, ready for the browser to display.
接下来,是一个PHPforeach循环,它循环遍历每个输出行并将其很好地呈现成XHTML,供浏览器显示。
Line 32 USES the "XSL: for-each" element to define the loop that creates the main part of the table, generating one line for each "emp" element occurrence.
第32行使用“xsl:for - each”元素来定义创建表的主要部分的循环,用以为每个出现的“emp”元素生成一行。
On line 2, we're gonna induce what's called a loop, so do you wanna go ahead and Philip henceforth you get to stare, stare at the awkwardness.
第二行,我们将介绍什么叫做循环,你想接着往下读吗,飞利浦正盯着你看,略显尴尬。
Obviously, since this is a snapshot in time, the line could be any line inside the while loop, such as line 16, 17, or 18.
显而易见,因为这是一个即时快照,所以该行可能是while 循环中的任意行,比如行16、17或 18。
In addition to the header line, you have a foreach loop in the EventTable method that iterates through each of the games.
除了标题行之外,在EventTable方法中还有一个foreach循环,它将在每个比赛上进行迭代。
The foreach loop is the most important line in the script: foreach (qp($url, 'entry') as $result).
foreach循环是脚本中最重要的一行: foreach (qp($url,'entry')as $result)。
Call, I added only the line psyco.bind (main), since the main function does loop a number of times (but only makes minimal use of integer arithmetic).
我只添加了psyco .bind (main)这一行,而不是添加一个总的psyco . jit调用,因为main函数确实要循环多次(但是仅利用了最少的整数运算)。
The loop simply iterates through the array and prints each line as it would do on the command line, but enforcing an XHTML break-line element after each print.
此循环迭代这个数组并打印每一行,与它在命令行上所做的无异,只不过在每次打印后均强制使用一个xhtml断行元素。
While it could have been written as a loop, the one-line solution is much cleaner that way, and does not slow the program down significantly.
虽然我们本来可以把它写成循环,但是长度只有一行的解决方案要清楚得多,并且不会显著降低程序运行的速度。
Note that the extension is easy to understand and modify, and that it can do the job just as well as the previous, non-parsing example (see the Event loop with command-line switches).
请注意,很容易理解和修改这个扩展,而且该扩展可以与前面的非解析示例一样出色地完成工作(请参阅带命令行开关的事件循环)。
With his left hand, he adjusted the loop of steel that cuffed his right hand to the line of doomed men.
他用左手调了调铐在右手上的钢圈,这钢圈把他和这列在劫难逃的人连为一体。
Definition: A common knot used in many circumstances on sailboats, such as to tie a loop of line around a piling, stanchion, or any other fixed structure.
在帆船上使用场景广泛的一种绳结,如用于将一股绳索围绕套在木桩,支柱,或任何其他固定结构上。
In this example, the special replacement form will be the same printf for every line, so it is pre-stored in the FORMATTER variable before the second for loop begins.
在本例中,特殊替换形式对于每一行来说都将是相同的printf,因此它将在第二个for循环开始之前被预先存储到FORMATTER变量中。
For each line of data returned by the data source, the while loop will take in the line as an object, and spit out a Zip tag with all the data in the database (see Listing 1).
对于由该数据源返回的每行数据,while循环将会在该行做为一个对象被调用,并且输出一个所有数据都在数据库中的Zip标记(请参阅清单1)。
The for loop then iterates through each line, matching it against the regular expression in ASSIGN_LINE using the built-in matchlist() function
然后,for 循环遍历每个行,使用内置的 matchlist() 函数根据 ASSIGN_LINE 中的正则表达式匹配它
Finally, the whole line is concatenated to the existing HTML so you have a complete list when the for loop is completed.
最后,所有行连接成现在的HTML,当for循环完成后,就有了完整列表。
In case you're not up on your STL, recall that for iterators the dereference operator returns the current object, so the line inside the for loop in the preceding snippet is equivalent to.
如果你对STL不熟悉,去看看有关迭代器反引用操作符的内容,它返回当前指向的对象,上面代码段中,for循环里的代码等同于。
Recall that the format of the /etc/shadow.dynamics file is "username salt password," which the while loop reads each line of the file into the g_user_dynamics data structure.
回想一下 /etc/shadow.dynamics文件的格式为 “usernamesaltpassword”,while 循环将把该文件的所有行读取到 g_user_dynamics数据结构中。
For each line that does, you open a new row element and loop through each digit to create a box element.
对这样的每一行,打开一个新的row元素然后遍历其中的的每个数字并创建一个box元素。
For each line that does, you open a new row element and loop through each digit to create a box element.
对这样的每一行,打开一个新的row元素然后遍历其中的的每个数字并创建一个box元素。
应用推荐