Listing 8 shows an example of creating an array and then adding three elements to it.
清单8显示创建一个数组然后向其中添加3个元素的示例。
Listing 8 does just this, iterating over the items in the feed and creating an array for each.
清单8演示了这个过程,它遍历提要中的各项并为每一项创建一个数组。
If you are creating an array, make sure the size is correct.
如果要创建数组,请确保其大小正确。
In the example below, the code begins by creating an array of flags that specify the characteristics of the print queues we want to list.
在下列范例中,程序码首先会建立旗标阵列,以指定我们要列出的列印伫列特性。
In the example below, the code begins by creating an array of flags that specify the characteristics of the print queues we want to list.
在下列范例中,程序码首先会建立旗标阵列,以指定我们要列出的列印伫列特性。
应用推荐