Dictionary class in Global context

Dictionary associates stored values with string keys ("key" is the first argument in get/set/remove functions). Integer "key" can be used to enumerate all elements.
Example: var d=Dictionary.new(); d.set("name","John"); d.set("age",44);
var i,element; for(i=0;i<d.size();i++) element=d.get(i);

6 members:

type and namedescriptioncomments
function clear
function
clear data  
integer size
integer
element count  
function remove
function
remove named or indexed element  
function get
function
get named or indexed element  
function set
function
set named or indexed element  
function new
function
create new Dictionary  

Global context