VPage (statement)

Syntax VPage [pages]
Description Scrolls the window with the focus up or down by the specified number of pages.
Comments The pages parameter is an Integer specifying the number of lines to scroll. If this parameter is omitted, then the window is scrolled down by one page.
Example This example scrolls the viewport window up five pages.
Sub Main()
  "BasicScript Viewport",100,100,500,200
  For i = 1 to 500
    Print "This will be displayed on line#: " & i
  Next i
  MsgBox "We will now go back 5 pages   "
  VLine -5
  MsgBox "...and here we are!"
End Sub
See Also VLine (statement); VScroll (statement).