List
Combines a set of values into a single list value.
Syntax
List(param1, param2, ...)
param1 = first parameter in the set (value, range, or list)
param2 = second parameter in the set (value, range, or list)
... = nth parameter in the set (value, range, or list)
Remarks
Ranges are always "flattened" using the List function. In other words, it does not returns lists of lists, only a list of values.
This function accepts an unlimited number of parameters. The length of the resulting list can be calculated using the Length function.
To eliminate any duplicate values, see ListUnique.
Examples
List(1, 2) = { 1, 2 }List(1, List(2, 3)) = { 1, 2, 3 }