AddIfNotExisted
DESCRIPTION: Add a new record only if the identical does not existed. |
CLASS: CRecArrayHnd
PROTOTYPE(S):int AddIfNotExisted(CRecord* pNewRsc); |
ARGUMENT(S):CRecord* pNewRsc | Pointer to a new record to be added. |
RETURN VALUE: This function returns the position where the new record was placed.
EXAMPLE:
COMMENT: This function will scan the array and add the given record only if no identical record existing. This function will not replace the existing record. |
|