L
lhlh_0_0
Unregistered / Unconfirmed
GUEST, unregistred user!
tempchar;
i:char;
begin
getmem(temp,255);
gettemppath(255,temp);
mkdir(temp+'index');
for i:='A' to 'Z' do
begin
result:=temp+'index'+'/'+i+'.txt';
assignfile(ifile,result);
rewrite(ifile);<==I/O Error 183???????????
writeln(ifile,i);
closefile(ifile);
end;
结果,到了rewrite(ifile)处就显示I/O Error 183
左看由看,也没有看出错误,望高手指点;
i:char;
begin
getmem(temp,255);
gettemppath(255,temp);
mkdir(temp+'index');
for i:='A' to 'Z' do
begin
result:=temp+'index'+'/'+i+'.txt';
assignfile(ifile,result);
rewrite(ifile);<==I/O Error 183???????????
writeln(ifile,i);
closefile(ifile);
end;
结果,到了rewrite(ifile)处就显示I/O Error 183
左看由看,也没有看出错误,望高手指点;