Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper Tools . Books 1-3 - <b>maxpage()</b> http://www.X-Hacker.org [<<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()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson