ArraySet
ArraySet(array, start, end, value
)
Initializes one or more elements in a
one-dimensional array, where start
is the
starting position, end
is the ending
position, and value
is the value to use.
The following example creates a one-dimensional array and populates
the first five elements with the string “Place
holder”:
<cfset MyArray = ArrayNew(1)> <cfset ArraySet(MyArray, 1, 5, "Place holder")> <cfdump var="#MyArray#">