Classes 1

Class Description
ArrayList

Functions 21

Function Description
ByteCountToCells

Given a maximum string size (including the null terminator), returns the number of cells required to fit that string.

ClearArray

Clears an array of all entries. This is the same as ResizeArray(0).

CloneArray

Clones an array, returning a new handle with the same size and data. This should NOT be confused with CloneHandle. This is a completely new handle with the same data but no relation to the original. You MUST close it.

CreateArray

Creates a dynamic global cell array. While slower than a normal array, it can be used globally AND dynamically, which is otherwise impossible.

FindStringInArray

Returns the index for the first occurrence of the provided string. If the string cannot be located, -1 will be returned.

FindValueInArray

Returns the index for the first occurrence of the provided value. If the value cannot be located, -1 will be returned.

GetArrayArray

Retrieves an array of cells from an array.

GetArrayBlockSize

Returns the blocksize the array was created with.

GetArrayCell

Retrieves a cell value from an array.

GetArraySize

Returns the array size.

GetArrayString

Retrieves a string value from an array.

PushArrayArray

Pushes an array of cells onto the end of an array. The cells are pushed as a block (i.e. the entire array sits at the index), rather than pushing each cell individually.

PushArrayCell

Pushes a value onto the end of an array, adding a new index.

PushArrayString

Pushes a string onto the end of an array, truncating it if it is too big.

RemoveFromArray

Removes an array index, shifting the entire array down from that position on. For example, if item 8 of 10 is removed, the last 3 items will then be (6,7,8) instead of (7,8,9), and all indexes before 8 will remain unchanged.

ResizeArray

Resizes an array. If the size is smaller than the current size, the array is truncated. If the size is larger than the current size, the data at the additional indexes will not be initialized.

SetArrayArray

Sets an array of cells in an array.

SetArrayCell

Sets a cell value in an array.

SetArrayString

Sets a string value in an array.

ShiftArrayUp

Shifts an array up. All array contents after and including the given index are shifted up by one, and the given index is then "free." After shifting, the contents of the given index is undefined.

SwapArrayItems

Swaps two items in the array.