Method Maps1
SymbolDescription
ArrayList
Functions21
SymbolDescription
ByteCountToCellsGiven a maximum string size (including the null terminator), returns the number of cells required to fit that string.
ClearArrayClears an array of all entries. This is the same as ResizeArray(0).
CloneArrayClones 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.
CreateArrayCreates 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.
FindStringInArrayReturns the index for the first occurrence of the provided string. If the string cannot be located, -1 will be returned.
FindValueInArrayReturns the index for the first occurrence of the provided value. If the value cannot be located, -1 will be returned.
GetArrayArrayRetrieves an array of cells from an array.
GetArrayBlockSizeReturns the blocksize the array was created with.
GetArrayCellRetrieves a cell value from an array.
GetArraySizeReturns the array size.
GetArrayStringRetrieves a string value from an array.
PushArrayArrayPushes 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.
PushArrayCellPushes a value onto the end of an array, adding a new index. This may safely be used even if the array has a blocksize greater than 1.
PushArrayStringPushes a string onto the end of an array, truncating it if it is too big.
RemoveFromArrayRemoves 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.
ResizeArrayResizes 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.
SetArrayArraySets an array of cells in an array.
SetArrayCellSets a cell value in an array.
SetArrayStringSets a string value in an array.
ShiftArrayUpShifts 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.
SwapArrayItemsSwaps two items in the array.