F
fossil
Unregistered / Unconfirmed
GUEST, unregistred user!
varDataRec: TDataRec;
BackFile: File of TDataRec;
FileName: String;
begin
FileName:= GetCurrentDir + '/1.dat';
AssignFile (BackFile,FileName);
Rewrite(BackFile);
......
s := GetCurrentDir+ '/bb.dat';
RenameFile(FileName, s);//不能给文件重命名??????????????
Closefile(BackFlie);
end;
var BackFileRec: TBackFileRec; 类型文件
BackFile: File of TBackFileRec;
怎么READ?