GetArrayString Function

Retrieves a string value from an array.

int GetArrayString(Handle array, int index, char[] buffer, int maxlength, int block)

Parameters

Handle array

Array Handle.

int index

Index in the array.

char[] buffer

Buffer to copy to.

int maxlength

Maximum size of the buffer.

int block

Optionally specify which block to read from (useful if the blocksize > 0).

Return Value

Number of characters copied.

Errors

Invalid Handle or invalid index.