Function and variable index 函数和变量索引
Note that the row and column order is the same as the element order in each set, and the index variable names are consistent between lines 12, 13, and 14.
注意行和列的次序与元素在每个集合中的顺序是相同的,索引变量名在第12、13和14行是一致的。
If the var attribute is specified, then a scoped variable with the indicated name will be created and assigned the current value of the index for each pass through the iteration.
如果指定了var属性,那么将会创建一个带有指定名称的并限定了作用域的变量,并将每次迭代的当前索引值赋给该变量。
Line 28 also creates a temporary variable and sets it to the value of the object's index number modulus 32.
第28行也产生一个临时变量而且将它设定为对象的索引数除以32的余数。
应用推荐