Array

array = Array ( Expression , ... )

Creates an array and returns it. The type of the array is the type of the first expression. The other expressions are automatically converted.

You can use the square bracket syntax as an alternative to the Array() subroutine.


Examples

PRINT Object.Type(Array(2.4, 3, 3.2))

Float[]

PRINT Object.Type(Array("2.4", 3, 3.2))

String[]

PRINT [ "A", "B", "C" ].Join("/")

A/B/C


See also

DIM, NEW