The array function append (arg) adds arg to the end of the array, thus accumulating a list in the process.
数组函数append (arg)将arg添加到数组的末尾,从而在此过程中形成了一个列表。
The Build array function input will automatically adapt to an element or an array input, depending on what you wire to it.
创建数组函数的输入端会自动匹配元素或数组输入,取决你要连接的对象。
For example, the Build array function shown in figure 7.23 has been configured to concatenate two arrays and one element into a new array.
例如,图7.23中的创建数组函数被设定用来结合两个数组和一个单个元素产生一个新的数组。
Sometimes you'll want to concatenate several 1D arrays together, instead of building a 2D array. In this case, you'll need to pop up on the Build Array function, and choose Concatenate Inputs.
有时候你需要拼接几个一维数组,而不是要组建二维数组,这种情况下,你需要点击函数,在菜单中选择连接输入端的类型。
In case of an error, this function returns an empty array to the caller.
在发生错误的情况下,此函数会向调用者返回一个空数组。
Each time a function is invoked, you add a new entry to this array.
每次调用函数时,您都将一个新条目添加到该数组中。
This function receives the match array as a parameter and returns a modified string that is used as a replacement.
那个函数则接收匹配到的数组作为参数,然后返回一个修改后的字符串作为替换。
Function (3) gets the result row as a PHP associative array.
函数(3)以PHP关联数组的形式返回结果行。
You implemented your state table as a common handler for all events, plus a function array for all actions and transitions.
将状态表实现为适用于所有事件的通用处理函数,并为所有操作和转换提供一个函数数组。
Then this function creates a new result array to be returned to the caller.
之后,此函数会创建一个新的结果数组以返回给调用者。
It takes a single parameter, a function, and applies the function to each element in the array.
它接受单个参数:一个函数,并将此函数应用于数组内的每个元素。
The function takes two parameters: "array of rows" and "array of columns".
这个函数接受两个参数:“行数组”和 “列数组”。
The example in Listing 1 illustrates variable creation of a variety of types (int, float, string, array, and function).
清单1中的示例说明了如何创建多种类型的变量(整型、浮点、字符串、数组和函数)。
And the use of the filter function on the Array type to apply the "greater-than," "equals," and "less-than" functions to each element therein.
可以对Array类型使用filter函数,从而对其中的每个元素应用“greater - than”、“equals”和“less -than”函数。
Use the implode function to turn that array of values into a comma-separated list.
使用implode函数将获得的数组转换为一个以逗号分隔的列表。
Function#argumentNames returns an array of strings representing the function's named arguments
Function#argumentNames返回一个字符串数组,它代表函数的命名参数
For example, consider a function that accepts an array and returns a Task.
例如,假设一个函数会接受一个数组作为参数,并返回Task。
The file function just copies the file into an array.
file函数只是将文件复制到一个数组中。
The stylesheet computes the array size with the count function.
样式表使用count函数计算数组大小。
One specifies todo tests by passing a todo array to the plan function.
一种方法是通过将todo数组传送到plan函数中来指定todo测试。
The associated values array is generated inside the hash function and is indexed using keysig characters.
关联值数组在hash函数内部生成,并使用keysig字符进行索引。
We build the weights array in the select_parents function by stacking map on top of grep .
通过把map堆栈到grep的上部,我们在select _ parents函数里建立了weights数组。
Notice that the index function creates an array called data that contains three named indices: title, headline, and include.
注意,index函数创建了一个名为data的数组,该数组包含三个已命名的索引:title、headline和include。
Without a reference, you copy the entire array or hash onto the function call stack, and then copy it again in the function.
如果不使用引用,就需要将整个数组或hash 表复制到该函数的调用栈中,然后在函数中再次对其进行复制。
To send your array of string objects, you call the JSON.stringify function, passing in the array as the argument.
要发送字符串对象数组,您调用JSON . stringify函数,将数组作为参数传递进来。
Once you have the photo XML objects in an array, you can call the map function on the array.
在照片XML对象处于数组内时,就可以对此数组调用map函数。
You only need to use the json_encode function to turn the returned array into json code.
您只需使用json_encode函数来将已返回的数组转变为json代码。
The input field invokes the wrapper function xajax_validateCatalogId with an array of form field values as a parameter.
输入字段调用包装器函数xajax_validatecatalogid,调用时以表单字段值数组作为参数。
The array is then passed to the populateSuggestionList function, which adds the elements to the Suggestion List.
随后将该数组传递给populatesuggestionlist函数,它将为建议列表添加元素。
In each of the top five indices of the result array, this function stores the provider name, total number of feed items received, title array, URL array, and the description array, respectively.
在结果数组的前5个索引中,此函数分别存储了提供者名称、收到的提要条目的总数、标题数组、UR l数组和描述数组。
应用推荐