[fpc-pascal]Problem with ScreenWidth & ScreenHeight...

Gene Buckle geneb at deltasoft.com
Wed Apr 14 19:17:19 CEST 2004


The CRT docs indicate that ScreenWidth and ScreenHeight are defined as 80
and 25 respectively.  However, they seem to be undefined in the Win32
version of 1.9.2.  I haven't checked any other versions.

Here's the example I tested:

program test;

uses
  Dos, Crt;

begin
  if CheckSnow then
    writeln('Wid: ',ScreenHeight);

end.

The CheckSnow call is there just to see if CheckSnow was defined.

Ideas?

Thanks.

g.






More information about the fpc-pascal mailing list