CONSOLE GET SCREEN statement

Purpose

Retrieve the size of the visible part of the console, in text rows and columns.

Syntax

CONSOLE GET SCREEN TO ncRows&, ncColumns&

Remarks

Most PowerBASIC statements specify graphic and pixel positions as x, y (the horizontal term first, then the vertical term).  However, for compatibility with most current and prior versions of BASIC (PowerBASIC included), the statements which reference console rows and columns name the vertical term first (rows, columns).

You can change the size of the console with CONSOLE SET SCREEN.

See also

CONSOLE GET LOC, CONSOLE GET SIZE, CONSOLE GET VIEW, CONSOLE GET VIRTUAL, CONSOLE SET LOC, CONSOLE SET SCREEN, CONSOLE SET VIEW, CONSOLE SET VIRTUAL