Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Clipper Tools One Guide - <b>screensize()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
SCREENSIZE()

Syntax:     SCREENSIZE()

Returns:    A numeric value.
            The function will return the number of bytes available for
            a screen output.

Usage:      SCREENSIZE() will determine the size of the screen in
            bytes.  There are exactly 2000 characters in 25 lines and 80
            columns.  There is also an additional attribute byte for each
            symbol, which gives a total of 4000 bytes.

Notes:      SCREENSIZE() includes the attribute bytes.  In actual fact
            there are only SCREENSIZE()/2 bytes available for
            characters.  The other half is used to store the attributes.

Library:    CT1.LIB


--------------------------------- Example ------------------------------

Examples:   * Displaying the number of existing bytes.

            ? SCREENSIZE()                      && As a rule 4000



See Also: NUMCOL() MAXROW()

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