您可以使用字符串、数字、值、数组和其他对象创建复杂对象。
You can create complex objects using strings, Numbers, values, arrays, and other objects.
清单1中的示例说明了如何创建多种类型的变量(整型、浮点、字符串、数组和函数)。
The example in Listing 1 illustrates variable creation of a variety of types (int, float, string, array, and function).
对于这个数组中的每个脚本,只需传递进指定worker脚本位置的那个字符串就可以创建worker。
For each script in the array, you create the worker by simply passing in the string that specifies the location of the worker's script.
步骤3:用密钥名和响应字符串数组创建XKMSLocate对象。
Step 3: Create the XKMSLocate object with the key name and the array of response strings.
标准的ArrayContentProvider创建ListViewer并仅显示一个字符串数组。
The standard ArrayContentProvider creates a ListViewer and shows just an array of strings.
我在应用程序中看到的一个问题是,工程师试图将数据库当作编程语言来使用,即通过使用具有逗号分隔的标识符的文本字符串来创建数组。
One problem I've seen with applications is when engineers attempt to use a database as though it were a programming language, creating arrays by using text strings with comma-separated identifiers.
您可以创建九个单独的字符串变量,每个队员一个,或者声明一个类似于以下代码的数组变量。
You could create nine separate string variables, one for each player, or you could declare an array variable that looks something like the code below.
我们已经创建了一个数组对象来存储json_encode可以读取和转换为json字符串格式的结果信息。
We have created an array object to store our results information in a format that json_encode could read and convert to a json string.
创建通过值传递的字符串数组。
调用此函数将串联所指定的数组元素以创建一个字符串。
Calling this function creates a single string by concatenating the array elements you specify.
返回通过连接一个数组中包含的若干子字符串创建的字符串。
Returns a string created by joining a number of substrings contained in an array.
创建包含字符串的结构数组,并且该数组是通过值传递的。
Creates an array of structures that contain strings and the array is passed by value.
另外,这是一个直接创建字符数组并对其进行初始化的示例,而不是定义字符串然后将字符串转换为字符数组。
Also, instead of defining a string and converting it to a character array, this is an example of creating a character array directly and initializing it.
另外,这是一个直接创建字符数组并对其进行初始化的示例,而不是定义字符串然后将字符串转换为字符数组。
Also, instead of defining a string and converting it to a character array, this is an example of creating a character array directly and initializing it.
应用推荐