SetArrayCell Function

Sets a cell value in an array.

void SetArrayCell(Handle array, int index, any value, int block, bool asChar)

Parameters

Handle array

Array Handle.

int index

Index in the array.

any value

Cell value to set.

int block

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

bool asChar

Optionally set as a byte instead of a cell.

Errors

Invalid Handle, invalid index, or invalid block.