Re: [fpc-pascal]writeln in win32 gui application

2004-05-10 Thread Matt Emson
> Compatibility with Delphi. With Delphi, you only get a console window if you do one of two things (other than create one yourself, that is..) 1) You explicitly compile as a console app. *Any* GUI app can be compiled as a 'console app.. This is done through a command line switch, IDE option (pro

Re: [fpc-pascal]writeln in win32 gui application

2004-05-09 Thread Peter Vreman
> On 9 May 2004 at 12:17, Peter Vreman wrote: > >> At 11:55 9-5-2004, you wrote: >> >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. >> > >>

Re: [fpc-pascal]writeln in win32 gui application

2004-05-09 Thread Vincent Snijders
On 9 May 2004 at 12:17, Peter Vreman wrote: > At 11:55 9-5-2004, you wrote: > >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 g

Re: [fpc-pascal]writeln in win32 gui application

2004-05-09 Thread Peter Vreman
At 11:55 9-5-2004, you wrote: 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(outp

Re: [fpc-pascal]writeln in win32 gui application

2004-05-09 Thread Michael Van Canneyt
On Sun, 9 May 2004, vs wrote: > 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}

[fpc-pascal]writeln in win32 gui application

2004-05-09 Thread vs
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.