RemoveRecord, RemoveAt
DESCRIPTION: Remove a record from FlitBase file. |
CLASS: CFlitBase
PROTOTYPE(S):int RemoveAt(int Pos); | int RemoveRecord(CTag TID); | int RemoveRecord(int Type, int ID); |
ARGUMENT(S):CTag TID | A tag containing type and id information for records to be removed. If m_Type member is 0, then all types will be accepted. If m_ID member is 0, then all ids will be accepted. | int Type | Record type to be removed. If this value is 0, then all types will be accepted. | int ID | Record id to be removed. If this value is 0, then all ids will be accepted. | int Pos | The position of the record to be remove. |
RETURN VALUE: This function returns the number of records left in the file after removal.
EXAMPLE:
COMMENT:
|
|