Home > lang > array 
 en fr de es it nl pl pt pt_BR mk sq ca hu tr ar fa id vi ko ja ru zh zh_TW eo
Previous  Next  Edit  Rename  Undo  Search  Administration  
Documentation  
Warning! This page is not translated.  See english version 
Inline Arrays
Array = [ Expression [ , ... ] ]

Creates an array and returns it.

The type of all arguments are tested. If they are all the same, or if they can be converted to the same native datatype, then a specific array is returned: String[] if there are only String values, Float[] is there are only Float values, and so on...

Otherwise, a Variant[] is returned.

Example

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

A/B/C

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

Float[]

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

Variant[]

See also

Inline Collections, NativnĂ­ pole