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.
When running in GUI mode the output and input files are not opened so there is no console window. With the rewrite(output) you explicitly open the output file and force the console window.
Peter
_______________________________________________ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal