ArrayList

Last Updated2015-10-30
Created At2014-07-05

Creates a dynamic global cell array. While slower than a normal array, it can be used globally AND dynamically, which is otherwise impossible. The contents of the array are uniform; i.e. storing a string at index X and then retrieving it as an integer is NOT the same as StringToInt()! The "blocksize" determines how many cells each array slot has; it cannot be changed after creation.

native ArrayList ArrayList(int blocksize = 1, int startsize = 0)

Parameters

int blocksize
The number of cells each member of the array can hold. For example, 32 cells is equivalent to: new Array[X][32]
int startsize
Initial size of the array. Note that data will NOT be auto-initialized.

Return Value

ArrayList New Handle to the array object.