Finding duplicates in a list
Bill Marriott
wjm at wjm.org
Wed Jan 9 06:48:10 EST 2008
Indeed! But that doesn't give him the output he wants, which is
original index (tab) duplicate index (tab) checksum
"Mark Smith" <mark at maseurope.net> wrote in message
news:7E16D41D-DFA3-4EE3-9C52-7F0F5DFF7C57 at maseurope.net...
>I got 11 ms on my machine:
>
> function getDupesList pList
> repeat for each line L in pList
> if array1[L] is empty then
> put 0 into array1[L]
> else
> put 0 into array2[L]
> end if
> end repeat
> return the keys of array2
> end getDupesList
>
> Best,
>
> Mark
More information about the use-livecode
mailing list