Vector class in Global context

Vector is 1-dimensional array, indexed by integer value (starting from 0). Multidimensional arrays can be simulated by putting other Vector objects into the Vector.
Example:
var v=Vector.new();
v.add(123); v.add("string");

7 members:

type and namedescriptioncomments
function clear
function
clear data  
integer size
integer
element count  
function remove
function
remove at position  
function get
function
get value at position  
function set
function
set value at position  
function add
function
append at the end  
function new
function
create new Vector  

Global context