Home / lang / array 
Inline Arrays
Syntax
Array = [ Expression [ , ... ] ]

Creates an array and returns it.

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

A/B/C

The type of the array is the type of the first Expression. The other expressions are automatically converted.

Example
PRINT Object.Type([ 2.4, 3, 3.2 ])

Float[]

Example
PRINT Object.Type([ "2.4", 3, 3.2 ])

String[]


See also
Native Arrays