Purpose |
Return the height of the console, in character rows. The console size may be changed using CONSOLE SCREEN. |
Syntax |
ncRows% = SCREENY |
Remarks |
SCREENX and SCREENY return the size of the console screen buffer. That's because previous versions of PowerBASIC considered the visible size of the console window and the size of its memory buffer to be the same. PowerBASIC now allows you to create a virtual screen that may be larger than the visible screen. The two sizes are treated independently, although the virtual screen buffer may never be smaller than the visible window size. CONSOLE GET VIRTUAL now returns the size of the virtual screen buffer, and CONSOLE GET SCREEN returns the visible screen size. While the old syntax will still be supported for some period of time, we urge you to change to the new syntax as soon as possible, to avoid future compatibility issues. |
See also |