procedure TForm1.button1click(sender:TObject);
type
   Tfilelist=packed record
     a1:string[10];
     a2:integer;
   end;
var
   f:file or tfilelist;
   filelist:tfilelist;
begin
   assignfile(f,'test.bf');  //--读文件
   reset(f);
   while not eof(f) do
   begin  
     read(f,filelist);
     if filelist.a1='first' then  //--做比较
     begin
       //--删除这段内容?????? 各位怎么处理啊
     end; 
   end;
   closefile(f);
end;