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

     MAXFONT() --> nFontCount

 Returns

     MAXFONT() returns the number of fonts you can load simultaneously within
     the screen card in use.

 Description

     Depending upon the screen adapter and its available memory, a various
     number of screen fonts can be loaded simultaneously.  MAXFONT() returns
     the maximum number of loadable fonts and is very helpful when used in
     conjunction with FONTLOAD() or SETFONT().

 Note

     .  As a rule, EGA adapters support four different font areas and
        VGA adapters support eight.

 Examples

     .  Load a font in the highest font area available...

        FONTLOAD("ITALIC.016", MAXFONT())

     .  ...and then select that font:

        FONTSELECT(MAXFONT())


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