---------------------------
Debugger Exception Notification
---------------------------
Project Project1.exe raised exception class EInOutError with message 'File not found'. Process stopped. Use Step or Run to continue.
---------------------------
OK Help
---------------------------
下面是代码
procedure TForm1.Button2Click(Sender: TObject);
var
F:TextFile;
begin
Assignfile(f,'LPT1');
---------------------------
Debugger Exception Notification
---------------------------
Project Project1.exe raised exception class EInOutError with message 'File not found'. Process stopped. Use Step or Run to continue.
---------------------------
OK Help
---------------------------
下面是代码
procedure TForm1.Button2Click(Sender: TObject);
var
F:TextFile;
begin
Assignfile(f,'LPT1');