MemCom Reference Manual > MemCom ftn Fortran API > Sparse Table Functions > mcf_st_dataset_clear

Name

mcf_st_dataset_clear — Clear all contents of a sparse-table dataset

Synopsis

subroutine mcf_st_dataset_clear(dsid, status)
integer*4 dsid
integer*4 status

Description

mcf_dataset_st_clear empties all cells and removes all columns and rows from the sparse-table dataset identified by dsid. Hence, after calling this function, the dataset is like a newly created one.

Parameters

dsid (input)

Dataset identifier.

status (output)

Status code returned. If completed successfully, 0 is returned. Otherwise, a negative value indicating the MemCom error number is returned.

See Also

mcf_st_col_append

mcf_st_col_num

mcf_st_row_num