For those applications controlling the parser, a loop helps because the application can easily stop the reading after sniffing the first few lines.
对于控制解析器的应用程序而言,一次循环是必要的,因为应用程序很容易在嗅探前面几行之后停止读入。
第3到第8行是一个循环。
In the main program loop, there is no need for the code that ignores the header lines and the first two lines of input.
在主程序循环中,代码无需忽略标题行和输入的前两行。
Thus, the script does not count 10 lines, it counts 10 iterations of the loop generated by the -n switch (see "perldoc perlrun" and Listing 2 for an example of that loop).
运算符在一个范围内迭代。因此,该脚本并不是数10个行,而是对- n开关生成的循环迭代10次(请参阅“perldocperlrun”和清单2,以获得该循环的示例)。
(You can also embed the three final lines of the script in a loop, dynamically change SOURCE, and back up a series of separate directories on the same system.) Here's how the backup works.
(还可以把脚本的最后三行嵌入一个循环,动态地修改SOURCE,从而备份同一系统上的一系列目录)。
It then waits for the response from the Arduino and goes into a loop to read lines reported.
之后它会等待来自Arduino的响应,并进入某个循环来读取所报告的行。
You can then split the string and iterate over the lines in the file within a for loop.
然后可以拆分string并在for循环中对文件的行进行迭代。
Once the for loop has iterated all the lines, any assignment operators within them will now be aligned correctly.
当for循环遍历了所有行之后,这些行中的赋值运算符将被正确对齐。
Lines starting with the comment "end main loop".
以注释“endmainloop”开始的行。
The two rails are not only signal lines of track circuits, but also loop current line of locomotive traction current in electrified railway block.
电力牵引区段的两条钢轨,既作为轨道电路的通道来传输信号电流,又作为牵引电流的回路来传送牵引电流。
Temps often are used to store summary information in loops. The entire loop can be extracted into a method; this removes several lines of noisy code.
临时变量常常会被用来在循环中存储加总的信息,可以将整个循环提取到新方法中,这样要移动几行夹杂在其中的代码。
US-based Horizon Lines recently unveiled a direct Shanghai-Los Angeles-Honolulu loop with a sailing voyage of 21 days.
总部设在美国的海天航运公司最近推出了航期为21天的环上海- 洛杉矶- 檀香山线直航服务。
It is shown that there is no loop in the circuit if all the feedback lines are cut off.
文中还证明了,切断这些反馈线后的电路不存在回路。
An alternate approach to reading lines is to loop over the file object. This is memory efficient, fast, and leads to simpler code.
交换通道可以循环读取文件对象中的行。这是内存操作的效率,快速,代码简单。
The vehicle detection is based on the roadway, which sets two virtual lines, like the inductive loop sensor, to detect their traffic flow parameters.
车辆的检测基于车道,在每个车道设置两条虚拟检测线来检测交通流参数,虚拟检测线的作用类似于电磁感应线圈。
An opening loop compensation method to approach sensor's nonlinearity characteristic by using five straight-lines is introduced in this paper.
本文介绍了一种用五段折线逼近传感器非线性特性的开环补偿方法。
Rather than locating it to the textbox, loop to the number of lines and save each line in a string and send that string to the application you want to send to.
而不是定位到文本框,循环的行数和每行一个字符串保存和发送的字符串,你要发送到的应用。
An alternative approach to reading lines is to loop over the file object. This is memory efficient, fast, and leads to simpler code.
一种替代的方法是通过遍历文件对象来读取文件行。这是一种内存高效、快速,并且代码简介的方式。
The vehicle detection is per-formed along lanes, on which two virtual lines are drawn to help detect traffic flow parameters like inductive loop sensors.
车辆的检测基于车道,在每个车道设置两条虚拟检测线来检测交通流参数,虚拟检测线的作用类似于电磁感应线圈。
Conventional vent lines are removed and replaced with a vent loop of high strength polymer textile braids.
该项技术去掉顶孔绳,代之以高强编织带孔口圈。
Around the traffic: traffic conditions: 43,20,02,15,26,926, airport three subway lines. MTR interchange, loop overhead, the air light, no to not.
周围交通: 交通状况:43,20,02,15,26,926,机场三线地铁一号线。地铁立交,内环高架,空中轻轨,无往不至。
Fig. 6. Comparison of the amino acid sequences between wild type and OsbHLH116 mutants. Blue lines and boxes denote basic-helix-loop-helix domain;
图6野生型与株突变体氨基酸序列比对蓝色直线和方框-碱性-螺旋-环-螺旋结构域;
Fig. 6. Comparison of the amino acid sequences between wild type and OsbHLH116 mutants. Blue lines and boxes denote basic-helix-loop-helix domain;
图6野生型与株突变体氨基酸序列比对蓝色直线和方框-碱性-螺旋-环-螺旋结构域;
应用推荐