Lucee Function Reference

Function ARRAYNEW

create a new array

Example

arraynew([number dimension,[string type,[boolean synchronized]]]):array

Category

array

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Default Value Description
dimension number  No 1 Number of dimensions in new array: 1, 2, or 3  
type string  No type of the array created, if set the array does not have any specific type.  
synchronized boolean  No true is the array synchronized or not