Is their a function that that removes duplicates in a certain list?.
input list is..
listWithDuplicate = ( "a" "b" "c" "d" "a" "c" "d" "a" "a")
after running the certain function, the output should look like this..
newList = ( "a" "b" "c" "d")..
I am thinking of using looping statements but using loops will affect the time to run the program specially when the list consist of many items..
Thanks in Advance..
Thanks GIL2004XP But what i need is a more straight forward function or maybe a built in function from allegro (if ever it exist).. My main concern is to decrease the time it takes for the program to remove duplicates, a list with 5 items will run fast. but if my input is around hundreds or maybe thousands, I think it will run slower..