MemCom Reference Manual > MemCom C API Manual Pages > Sparse Table Functions > mcSTcellClear

Name

mcSTcellClear — Clear a sparse-table cell

Synopsis

#include <memcom.h>

int mcSTcellClear(int dsid, int row_index, mcInt64 column_index);

Description

mcSTcellClear clears, for the sparse-table dataset identified by dsid, the cell identified by the row index row_index and the column index column_index. The cell may or may not be empty before calling mcSTcellClear. Afterwards, the cell is empty.

mcSTcellClear does not affect the row's sorting order, if any.

Parameters

dsid (input)

Dataset identifier.

row_index (input)

Index of the row, starting at 1.

column_index (input)

Index of the column whose data element size is requested. Column indices start at 1.

Return Value

If no error occurred, 0 is returned. Otherwise, a negative value indicating the MemCom error number is returned.

See Also

mcSTdatasetClear, mcSTcellSet, mcSTrowClear