[fpc-pascal]writeln in win32 gui application
peter at freepascal.org
Sun May 9 12:17:38 CEST 2004
At 11:55 9-5-2004, you wrote:
>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.
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.
More information about the fpc-pascal