how to compare 2 very large textfiles

Pete pete at
Thu Oct 6 19:28:23 EDT 2011

Good point Jim.  As you say, it should work fine for fully qualified names.
 If the intent was to find duplicates as well as missing lines, then I would
"add 1 to myArray[i]["A"]" instead of putting true in there.  Then in the
final repeat loop check for "> 1" in each key to list duplicates.
Molly's Revenge <>

On Thu, Oct 6, 2011 at 4:02 PM, Jim Ault <jimaultwins at> wrote:

> On Oct 6, 2011, at 5:50 PM, Matthias Rebbe wrote:
>  put the dgtext of grp "Festplatte 1" into tHDD1
>> put the dgtext of grp "Festplatte 2" into tHDD2
>> REPEAT FOR each line i in tHDD1
>>    put true into myArray[i]["A"]
>> REPEAT FOR each line i in tHDD2
>>     put true into myArray[i]["B"]
> Major Caution:
> This technique only works robustly if every line in tHDD1 is unique
> and if every line in tHDD2 is unique
> since using    myArray [i] ["A"] would make duplicates within each list
> disappear.
> If your desired result is not affected by this, then the result will be
> correct.
> Path name comparisons are unique by their nature, but not all data sets
> are.
> Jim Ault
> ______________________________**_________________
> use-livecode mailing list
> use-livecode at
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:

More information about the Use-livecode mailing list