Home > cat > array 
 fr de es it nl pl pt pt_BR mk sq ca hu cs tr ar fa id vi ko ja ru zh zh_TW eo
Previous  Next  Edit  Rename  Undo  Refresh  Search  Administration  
THIS WIKI IS DEPRECATED AND IS READ-ONLY. THE NEW WIKI IS THERE.
Documentation
History
 
Native Arrays
Gambas has a predefined array class for each native Datatype.

The name of these classes is the name of the datatype they store followed by an opened and a closed bracket.

Boolean[] Array of Boolean values.
Byte[] Array of Byte values.
Short[] Array of Short values.
Integer[] Array of Integer values.
Long[] Array of Long values.
Single[] Array of Single values.
Float[] Array of Float values.
Date[] Array of Date values.
String[] Array of String values.
Object[] Array of Object values.
Pointer[] Array of Pointer values.
Since 2.1 version
Variant[] Array of Variant values.

You can initialize an array, or create an array inside an expression with the [ ... ] operator. See Inline Arrays for more information.