鲜
鲜人
Unregistered / Unconfirmed
GUEST, unregistred user!
DateTime:=Time;
AssignFile(F,'1.txt');
Reset(F);
while not SeekEof(f) do
begin
Read;
end;
Writeln(F,DateToStr(Date)+' '+TimeToStr(DateTime));
for i:=1 to Memo1.Lines.Count do
begin
Writeln(F,Memo1.Lines);
end;
CloseFile(F);
编译通过,运行时启动提示I/o错误?这是怎么会事?
AssignFile(F,'1.txt');
Reset(F);
while not SeekEof(f) do
begin
Read;
end;
Writeln(F,DateToStr(Date)+' '+TimeToStr(DateTime));
for i:=1 to Memo1.Lines.Count do
begin
Writeln(F,Memo1.Lines);
end;
CloseFile(F);
编译通过,运行时启动提示I/o错误?这是怎么会事?