[fpc-pascal]Text output oddities with W2k
Peter Vreman
peter at freepascal.org
Fri Jun 8 23:42:14 CEST 2001
At 18:41 8-6-01, you wrote:
>Hi,
>
> > > > What buggers me most is that only FPC programs show that behaviour.
>Win32
> > > > console mode programs compiled in any other language I tried (java,
>vc++,
> > > > Delphi) don't show similar behaviour at all. Disabling graphics
>hardware
> > > > acceleration doesn't change a thing either.
> > >
> > > This happends also with only writeln() used in your program? And what
>about go32v2
> > > compiled programs?
>
>Here's a sample program:
>----------
>uses
> crt;
>
>var
> i : Integer;
>
>begin
> for i := 0 to 100 do
> writeln('Hello ', i);
>end.
>
>--- guess that one is simple enough. Just compile and run it a few times and
>you'll notice. Btw, I think it's connected to the crt unit because when it's
>not used it seems to work (quick tests show that at least; FPC 1.1 from
>2001/06/01)
But this is with Crt unit. What does it without the crt unit? because that
makes a big difference. If it works without crt unit the the problem is the
crt unit. Also you can't compare it with Delphi since delphi has no Crt
unit. If it works with an 3rd party crt unit you can check the differences
between the units to find the problem.
Peter
More information about the fpc-pascal
mailing list