Answer the question
In order to leave comments, you need to log in
Delphi! Removing duplicates from one file in another! How to implement?
How to quickly remove duplicate lines from one file in another?
There is a code:
procedure DubleClear.Execute;
var
i,j:integer;
d:boolean;
begin
For i:=AdditionalBase.Count-1 downto 0 do
begin
d:=false;
For j:=0 to MainBase.Count-1 do
If AdditionalBase[i]=MainBase[j] then
begin
d:=true;
Break;
end;
If d then
MainBase.Delete(i);
end;
Rez := 2;
Synchronize(Sync);
end;
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question