Home > lang > array 
 fr de es it nl pl pt pt_BR mk sq ca ar fa vi ja ru zh zh_TW eo
Previous  Next  Edit  Rename  Undo  Refresh  Search  Administration  
Documentation
History
 
Inline Arrays
Syntax
Array = [ Expression [ , ... ] ]

Creates an array and returns it.

Examples

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.

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

Float[]

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

String[]

See also

Native Arrays