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,并且除首字母大写外、以小写字母打印并排序所有环境变量的多行循环。
A loop works on the command line as nicely as it does in a script.
循环在命令行中的工作效果与在脚本中同样出色。
It also supplies a simple loop for handling queries on the command line.
它还提供在命令行中处理查询的简单循环。
The main loop is entered to read every line on STDIN and extract relevant information.
进入主循环以读取STDIN 中的每一行并提取相关信息。
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.
虽然我们本来可以把它写成循环,但是长度只有一行的解决方案要清楚得多,并且不会显著降低程序运行的速度。
When command-line arguments are not enough, the next step is to write an event loop.
当命令行参数不够用时,下一步是编写一个事件循环。
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.
他用左手调了调铐在右手上的钢圈,这钢圈把他和这列在劫难逃的人连为一体。
The plasma flows in a loop along a magnetic field line.
这些等离子体沿着磁力线的方向流动喷发。
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变量中。
Event loop with command-line switches.
带有命令行开关的事件循环。
Event loop with command-line switches.
带有命令行开关的事件循环。
应用推荐