fpc/tests/webtbs/tw1451.pp
2001-04-16 11:03:54 +00:00

19 lines
276 B
ObjectPascal

{$ifdef fpc}{$mode objfpc}{$endif}
uses
sysutils;
var ErrorFileHandle : Text;
begin
//No Assignfile
Writeln('----');
try
CloseFile(ErrorFileHandle);
except
on E: Exception
do Writeln('ExceptionMessage: '+e.Message);
end;
Writeln('----');
end.