Inside Coldfusion MX

"-->

ArrayAppend (array, value)

Description

Appends an array element to the end of an array.

Example

<cfset zipcode = ArrayNew(1)> <cfset zipcode[1] = 80202> <cfset zipcode[2] = 80203> <cfset zipcode[3] = 80204>

To append 80205 to an array, use the following:

<cfset ArrayAppend(zipcode, "80205")>

Категории