VECTOR_ERASE

Syntax

VECTOR_ERASE ( vector_handle, location );
Input arguments:
handle vector_handle Vector.
int location Location of the element to be erased.

Return Values

Success:
int 0
Failure:
int -1

Description

This function erases an element from the given location in a vector. Vector size is decreased by one.