QBasic 1.1: VIEW PRINT Statement

Syntax

VIEW PRINT [toprow% TO bottomrow%]

Description / Parameter(s)

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.

Example

VIEW PRINT 10 TO 15 FOR i% = 1 TO 100 'Output will scroll. PRINT i% NEXT i%