Another variation on a theme...
on removeDuplicates vlist
sort vlist
repeat with i = count(vlist) down to 2
if vlist[i] = vlist[i-1] then vlist.deleteAt(i)
end repeat
end
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]
- <lingo-l> Find duplicates in a list Changhsu P. Liu
- Re: <lingo-l> Find duplicates in a list Stephen Ingrum
- Re: <lingo-l> Find duplicates in a list Fumio Nonaka
- Ken Prat
