Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2004-04

Problem with ScreenWidth & ScreenHeight...

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Gene Buckle

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.

Reply by email