SetArrayString

Last Updated2023-09-27
Created At2007-07-24

Sets a string value in an array.

native int SetArrayString(Handle array, int index, const char[] value, int size = -1, int block = 0)

Parameters

Handle array
Array Handle.
int index
Index in the array.
const char[] value
String value to set.
int size
If not set, assumes the buffer size is equal to the blocksize. Otherwise, the size passed is used.
int block
Optionally specify which block to write to (useful if the blocksize > 0).

Return Value

int Number of characters copied.

Error

Invalid Handle or invalid index.