[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 MAXPAGE()
 Determines the number of available screen pages
------------------------------------------------------------------------------
 Syntax

     MAXPAGE() --> nMaxPage

 Returns

     This function returns the number of the maximum available video "pages".
     A return of 0 means that only one page is available; so, the actual
     number of available pages is MAXPAGE() +1.

 Description

     MAXPAGE() allows you to determine the number of screen pages that are
     available for use on the display adapter.  This information can be
     particularly valuable when you use the SETPAGE() or PAGECOPY() function.

 Example

     Find the maximum number of available screen pages:

     ? MAXPAGE()                  // Result 3 means 4 pages


See Also: SETPAGE() GETPAGE() PAGECOPY()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson