Finding duplicates in a list
Ian Wood
revlist at azurevision.co.uk
Wed Jan 9 07:17:30 EST 2008
The absolute *ideal* would be:
checksum tab index1,index2,index3 etc.
However, once I have a list of dupes I have to plug it back into the
DB to get more info anyway, so the list of checksums by itself also
works.
Ian
On 9 Jan 2008, at 11:48, Bill Marriott wrote:
> 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
>
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list