CONSOLE GET VIRTUAL statement

Purpose

Retrieve the size of the screen buffers associated with the console window.

Syntax

CONSOLE GET VIRTUAL TO ncRows&, ncColumns&

Remarks

PowerBASIC allows you to specify a virtual console screen that may, optionally, be larger than the visible screen.  If you create a virtual screen with CONSOLE SET VIRTUAL, scroll bars are automatically added to the visible screen to allow the user to examine the entire screen buffer.

The CONSOLE GET VIRTUAL statement retrieves the virtual screen size.  You can change the size of the console buffer with CONSOLE SET VIRTUAL.

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).

See also

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