我们将在本文中稍后讨论循环变量。
清单20演示了如何使用循环变量来创建名称。
Listing 20 shows how names can be created using a loop variable.
循环变量和调节剂是区分大小写的。
什么是循环变量?
类型允许在循环变量的声明?
为什么不是我在我的循环变量的改变?
有最好使用循环变量在上壳体,以避免与改性剂的问题。
It is better to use loop variables in upper case to avoid problems with the modifiers.
惟一的保持最短的变量是 $i,在本清单中,它是一个循环变量。
The only variable that's left short is $i, which in this listing is a looping variable.
你通过你的循环变量的地址我,这是在主线程递增当孩子线程访问它。
You're passing the address of your loop variable I, this is being incremented in the main thread while your child threads access it.
后一种方法还会将您与视图中使用的临时循环变量名称_ course联系起来。
The latter approach also ties you to the name of the temporary loop variable used in the view, _course.
多次循环变量的优化设计方法,这种方法可以综合标出最佳参敦的组合。
A new method is given in this paper by which multi-parameters, multi-cycling variables optimum design can be carried through electronic computers.
在极少使用和测试的不重要情形中疏忽了为循环变量设置新值,这是常见的程序设计错误。
A common programming error is failure to set new values for loop variables in corner cases that are rarely used and tested.
另一种方法是从对应于临时循环变量的值绑定中读取该数据,该变量定义在组件标记的var属性中。
The other way is to read it from the value binding that corresponds to the temporary loop variable, which is defined in the component tag's var attribute.
第一项改进(C 语言的现代版本也支持这项改进)是将 i循环变量的声明移到循环之内,如清单7 所示
The first improvement (which is also supported by modern versions of C) is to move the declaration of the i loop variable inside the loop, as shown in Listing 7
尽管很多人不赞同使用过短的名称,但在循环变量中使用还是可以接受的(甚至有好处),因为它明确表明了代码的功能。
Although many people may disagree, a short name for the looping variable is acceptable - even good - because it's a clear indicator of functionality.
常见的一种特殊情况就是在循环外部声明变量。
One special case that shows up frequently is declaring variables outside of loops.
所以在比较关键的循环中,我们要不使用全局变量。
We should therefore not use global variables inside critical loops.
毫无疑问,最常见的调试步骤是设置断点,这样可以检查条件语句或循环内的变量和值。
Undoubtedly, the most common debugging procedure is to set breakpoints that will allow the inspection of variables and the values inside conditional statements or loops.
毕竟XSLT缺少对很多算法来说极其重要的特性,其中包括循环和可变的变量。
After all, XSLT is missing some features that are important to a lot of algorithms, including loops and mutable variables.
通常在循环中给定的变量能够以多种方式改变状态。
Usually within loops, there are several ways that a given variable can change state.
您可以方便地创建变量、循环,使用条件和创建函数。
You won't have any trouble creating variables, looping, using conditionals, and creating functions.
如清单1所示,变量和诸如循环等脚本控制结构使脚本更容易编写和维护。
As demonstrated in Listing 1, variables and script control structures, such as loops, make scripts easier to write and simpler to maintain.
所有这四个变量都是在循环外声明的,尽管它们仅在循环内部使用,但作用域不止于此。
All four variables are declared outside the loop and therefore have excessive scope even though they're only used inside the loop.
观察点是流程(任务、子流程、变量及循环)中的一些位置,在此需要测量以使KPI生效。
Observation points are the points in a process (tasks, subprocesses, variables, and loops) where measurements are needed to validate the KPI.
例如,编译器为了优化一个循环索引变量,可能会选择把它存储到一个寄存器中,或者缓存会延迟到一个更适合的时间,才把一个新的变量值存入主存。
For example, a compiler may choose to optimize a loop index variable by storing it in a register, or the cache may delay flushing a new value of a variable to main memory until a more opportune time.
至于循环计数变量,第一个变量设置操作将其设置为2。
As for the loop count variable, the first set variable action sets it to 2.
所有这些变量将在主循环中用到。
All these variables will be useful in the course of the main loop.
另一个重要的更改是XPath 2.0支持循环和变量。
Another significant change is that XPath 2.0 supports loops and variables.
常用的汇编级结构,比如变量、循环、标签和宏。
Common assembly level constructs such as variables, loops, labels, and macros.
这些例子演示scheme的一些关键特性,此外还演示了变量、条件和循环。
These examples illustrate variables, conditionals, and loops in addition to some of the key features of Scheme.
应用推荐