Inside Coldfusion MX

"-->

ArraySet (array, start_pos, end_pos, value)

Description

In a one-dimensional array, this sets the elements in a specified index range to a value. It is useful for initializing an array after a call to ArrayNew. This will create a temporary value in that position until it is overwritten.

Example

<cfset zipcode = ArrayNew(1)> <cfset exampleArray = ArraySet(zipcode, 1, 10, "tempValue")>

Категории