Railo 4.2 Reference
Choose a function:

Object Method Array.set

In a one-dimensional array, sets the elements in a specified index range to a value. Useful for initializing an array after a call to ArrayNew.
Array.set(number start_pos,number end_pos,any value):boolean

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
start_pos number  Yes Starting index position of range to set.
end_pos number  Yes Ending index position of range to set. If this value is greater than array length, Railo adds elements to array.
value any  Yes Value to which to set each element in the range.