04-10-2013, 01:04 AM
It would be nice to have other ARRAY functions.
Member function ARRAY.unique
Macro Remove duplicates
Member function ARRAY.unique
function
int i j
for i this.len-1 0 -1
,for(j 0 i) if this[j]=this[i]; this.remove(i); break
Macro Remove duplicates