Creating arrays explicitly using ArrayNew()
Declare an array with the ArrayNew function. Specify the number of dimensions as an argument.
ArrayNew(dimension) creates an array of 1–3 dimensions.
ColdFusion arrays expand dynamically as data is added.
ArrayNew() returns an array.
History
Intr...
First some general information about how arrays behave in Coldfusion as compared to other programming languages.
Arrays can have numeric indexes only (if you want to have a string index use structs instead)
Arrays begin at index [1]
Arrays can have one ore more dimensions