M
MicroStar
Unregistered / Unconfirmed
GUEST, unregistred user!
一下程序预行时出IO错误!
I/O error 32 和 with error 103
Division by zero
try
if not FileExists(Appdir+'ListSave.vhf') then
begin
AssignFile(TempTextFile,AppDir+'ListSave.vhf');
ReWrite(TempTextFile)
end
else
begin
AssignFile(TempTextFile,AppDir+'ListSave.vhf');
Showmessage('is here ');
Reset(TempTextFile);
Append(TempTextFile);//
WriteLn(TempTextFile,Buf);
Flush(TempTextFile);
end;
// ShowMessage(Buf);
finally
CloseFile(TempTextFile);
end;
end;
I/O error 32 和 with error 103
Division by zero
try
if not FileExists(Appdir+'ListSave.vhf') then
begin
AssignFile(TempTextFile,AppDir+'ListSave.vhf');
ReWrite(TempTextFile)
end
else
begin
AssignFile(TempTextFile,AppDir+'ListSave.vhf');
Showmessage('is here ');
Reset(TempTextFile);
Append(TempTextFile);//
WriteLn(TempTextFile,Buf);
Flush(TempTextFile);
end;
// ShowMessage(Buf);
finally
CloseFile(TempTextFile);
end;
end;