VIEW PRINT Statement
◄Contents► ◄Index► ◄Back►
──────────────────────────────────────────────────────────────────────────────
Sets the boundaries of the screen text viewport.
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.
Example:
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►