确认了发送数据的传感器之后,将使用方法第二个参数传递的浮点值数组中所包含的数据更新相应的ui元素。
Once the sending sensor is identified, the appropriate UI elements are updated with data contained in the array of float values passed as the second argument to the method.
如果是这样,它就将字符串值保存为条目数组中元素的内容。
If this is true, then it saves the string value for the contents of the element in the items array.
数组的元素类型和值的类型必须相同。
The element type of the array and the type of the value must be of the same type.
在这个例子中,使用了两个DHTML技术:forms数组,以及通过基于属性值的名称调用元素(而不是通过元素名或总体结构)。
In this case, you see two DHTML techniques: the forms array, and calling elements by names based on attribute values, rather than by element names or by overall structure.
current参数的初始值是数组内的第一个元素。
The current parameter starts off as the first element in the array.
保存CGI参数的数组是由元素中action属性的值决定的。
The array in which the CGI parameters are held depends on the value of the action attribute in the element.
它首先定义了一个新元素 ,然后将它链接到一个包含名称-值对的选项数组。
It first defines a new element, , and links it to an options array containing key-value pairs.
最后,如果元素是一个列表,选中项的值就会存储到返回的数组中。
Finally, if the element is a list, the values of the selected items are stored into the returned array.
数组:一个已知元素的值的数组,尤其像用户ID。
Array: An array of values for a given element, typically user IDs.
解析过程中,配置文件中的元素和数据转化成类似PHP关联数组的键-值对。
During this parsing process, the elements and data in the configuration file are converted into key-value pairs, similar to that found in a PHP associative array.
但是,正如我们希望的,在表中已经显示,它真正表示的是含有单一元素的数组,元素的值为“零”(null),而不是一个“零”(null)数组。
But as we hope we've shown in the table, that really represents an array with a single element whose value is null, not a null array.
每个数组元素能存放一个数据的值。
否则,可能对一个空数组是null对象还是没有任何元素的数组,亦或带有一个对象且此对象包含null或空值的数组产生混淆。
Otherwise, there can be confusion over whether an empty array is a null object, an array with no elements, or an array with a single object containing null or empty values.
用于数组类型的组件的值可以包含0个或1个元素,用于集合和树类型的组件的值可以包含0到多个元素。
Values for array type components can contain zero or one element, and values for set and tree type components can have zero or more elements.
regmatch(re,text)函数将比较正则表达式和文本,如果没有匹配的话就生成Null 值,否则生成一个由成对整数组成的数组(双元素数组)。
The regmatch(re, text) function compares the regular expression to the text, yielding either Null for no matches or an array of pairs of integers (a two-element array).
注意定义文件中type属性的值:元素映射到一个数组,嵌套的映射为简单字符串值。
Notice the values of the type attribute in this definition file: the element is mapped to an array, while the nested s are mapped to simple string values.
foreach语句,不是设置来自sql结果集的域属性值,而是将字符串TODO:setfrom sqlresult填塞到字段值数组的每个元素。
The foreach statement, instead of setting domain attribute values from a SQL result set, stuffs the string TODO: set from SQL result into each element of the array of field values.
demo_xml . tpl会为数组中的每一个元素生成包含从数组查询到的值的xml元素。
For each element of the array, the demo_xml.tpl template generates an XML element containing the value retrieved from the array.
语句不会根据搜索值测试数组元素。
Statement does not test the array element against the search value.
圆括号要求编译器对数组做值初始化,在本例中即把数组元素都设置为0。
The parentheses are effectively a request to the compiler to value-initialize the array, which in this case sets its elements to 0.
函数的作用是:返回数组中当前元素的值。
The current function returns the value of the current element in an array.
函数返回了数组中当前元素的值。
The pos() function returns the value of the current element in an array.
最快的方式是什么让所有错误的元素在一个布尔值数组的索引吗?。
What's the fastest way to get all of the indices of false elements in a boolean array?
而在传递数组时,实参是指向数组第一个元素的指针,形参复制的是这个指针的值,而不是数组元素本身。
When we pass an array, the argument is a pointer to the first element in the array. That pointer value is copied; the array elements themselves are not copied.
函数的作用是:删除数组中的第一个元素并返回这个被删除的元素的值。
The array_shift function removes the first element from an array, and returns the value of the removed element.
在被调用函数中,可以通过数组下标访问或修改数组元素的值。
By subscripting this value, the function can access and alter any argument of the array.
编程求出二维数组中的最大和最小元素的值及其位置。
Programming calculated two-dimensional array of elements in the largest and smallest values and its loc …
当把数组名用作参数时,传递给函数的值是数组起始元素的位置或地址——它并不复制数组元素本身。
When the name of an array is used as an argument, the value passed to the function is the location or address of the beginning of the array - there is no copying of array elements.
如果两个数组的元素都是值类型元素,则元素的数据类型必须完全相同。
If both arrays have value type elements, the element data types must be exactly the same.
如果两个数组的元素都是值类型元素,则元素的数据类型必须完全相同。
If both arrays have value type elements, the element data types must be exactly the same.
应用推荐