Returns the amount of storage available in the specified vector object.
Syntax
capacity( vector )
vector.capacity( )
Parameters
vector
|
the vector object to check.
|
Returns
integer
|
the amount of storage available in the specified vector object.
|
Example
v = Vector( )
v = v.capacity( )
|