CreateArray Function

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.

ArrayList CreateArray(int blocksize, int startsize)


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

New Handle to the array object.