VECTOR_PUSH_BACK

Syntax

VECTOR_PUSH_BACK ( vector_handle, new_element );
Input arguments:
handle vector_handle Vector.
untyped new_element New element to add to the end of the vector. Type can be int, float, string or handle.

Return Values

Success:
int 0
Failure:
int -1

Description

This function adds a new element to the end of the given vector. Vector size is increased by one.