Explanation
VIEW PRINT Statement
Sets the boundaries of the screen text viewport.Worth knowing
Useful and cross-version information about the programming environments of QBasic, QuickBasic and Visual Basic for DOS.
Useful and cross-version information about the programming environments of QBasic, QuickBasic and Visual Basic for DOS.
VIEW PRINT [toprow% TO bottomrow%] |
toprow% | The number of the top row of the text viewport. |
bottomrow% | The number of the bottom row of the text viewport. |
If you omit the toprow% and bottomrow% arguments, VIEW PRINT sets the entire screen as the text viewport. | |
Ranges for toprow% and bottomrow% depend on the screen mode. |
VIEW PRINT 10 TO 15
FOR i% = 1 TO 100 'Output will scroll.
PRINT i%
NEXT i%
See also: | CLS | LOCATE | PRINT, LPRINT | SCREEN | WIDTH | Screen Modes |