CRT Documentation: Reference |
[This function does not have a corresponding DOS function.]
Returns the width of the screen.
function ScreenWidth: integer;
Returns the width of the console/screen in character cells.
The return value is 1-based. This is a new function for Delphi and was not previously available in Turbo Pascal or Borland Pascal.