C
cao192
Unregistered / Unconfirmed
GUEST, unregistred user!
运行后,出现如题错误。怎么回事儿?<br><br>procedure TForm1.Button1Click(Sender: TObject);<br>var<br>i:integer;<br>F:TextFile;<br>ErrFileName:string;<br>begin<br>try<br>i:=trunc(3 div strtoint(edit1.Text));<br>Except<br> ErrFileName:=ExtractFilePath(Application.ExeName)+FormatDateTime('yymmddhhmmss',now)+'.DAT';<br> if Not FileExists(ErrFileName) then FileCreate(ErrFileName);<br> AssignFile(F,ErrFileName);<br> Rewrite(F);<br> writeln(F,'asdfasdf1654654654');<br> CloseFile(F);<br>end;<br>end;<br><br><br>哪里有错误表可以下载<br>