Functions

cellarray.inc

Function Type Description
ArrayClear native Clears all entries from the array.
ArrayClone native Clones an array, returning a new handle with the same size and data.
ArrayCreate native Creates a handle to a dynamically sized array.
ArrayDeleteItem native Deletes an item from the array. All items beyond it get shifted down by one.
ArrayDestroy native Destroys the array and frees its memory.
ArrayFindString native Searches through the array and returns the index of the first occurence of
the specified string.
ArrayFindValue native Searches through the array and returns the index of the first occurence of
the specified value.
ArrayGetArray native Retrieves an array of data from a cellarray.
ArrayGetCell native Returns a single cell of data from an array
ArrayGetString native Returieves string data from an array.
ArrayGetStringHandle native Creates a special handle that can be passed to a string format routine for
printing as a string (with the %a format option).
ArrayInsertArrayAfter native Creates a new item behind the specified item and copies the provided array
into it. All items beyond it get shifted up by one.
ArrayInsertArrayBefore native Creates a new item in front of the specified item and copies the provided
array into it. All items beyond it get shifted up by one.
ArrayInsertCellAfter native Creates a new item behind the specified item and sets the item's single cell
value. All items beyond it get shifted up by one.
ArrayInsertCellBefore native Creates a new item in front of the specified item and sets the item's single
cell value. All items beyond it get shifted up by one.
ArrayInsertStringAfter native Creates a new item behind the specified item and copies the provided string
into it. All items beyond it get shifted up by one.
ArrayInsertStringBefore native Creates a new item in front of the specified item and copies the provided
string into it. All items beyond it get shifted up by one.
ArrayPushArray native Creates a new item at the end of the cellarray and copies the provided array
into it.
ArrayPushCell native Creates a new item at the end of the array and sets the item's single cell
value.
ArrayPushString native Creates a new item at the end of the array and copies the provided string
into it.
ArrayResize native Resizes an array.
ArraySetArray native Fills an item's data with the contents of an array.
ArraySetCell native Sets an item's data to a single cell value.
ArraySetString native Sets an item's data to a string value.
ArraySize native Returns the number of elements in the array.
ArraySort native Similar to sorting.inc's CustomSort, the sorting algorithm then uses the
custom comparison function to sort the data.
ArraySortEx native A faster version of ArraySort, the sorting algorithm then uses the custom
comparison function to sort the data.
ArraySwap native Swaps the position of two items.
ByteCountToCells stock Returns the number of cells required to fit a string of the specified size
(including the null terminator).