[fpc-pascal]writeln in win32 gui application

vs vslist at zonnet.nl
Sun May 9 11:55:40 CEST 2004


Hi,

The following program gives run time error 103. If I uncomment the
rewrite line, it runs ok. Is this a bug or feature? If it is a feature,
can somebody explain, the reasoning behind it.

program guiwriteln;

{$mode objfpc}{$H+}
{$apptype gui}

begin
  //rewrite(output);
  writeln('Test');
end.

Regards,
Vincent.





More information about the fpc-pascal mailing list