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>ismono()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 ISMONO()
 Determines if a monochrome card is present or can be emulated
------------------------------------------------------------------------------
 Syntax

     ISMONO([<lMode>]) --> lMonochrome

 Argument

     <lMode>   When designated as .T., tests to  see if a monochrome card
     is available.  The default value of .F. tests to see if a monochrome
     card can be emulated.

 Returns

     Depending on the <lMode> parameter, ISMONO() returns .T. when a
     monochrome card is available, or if a monochrome adapter can be
     emulated.

 Description

     This function determines two things.  When designated as .F. or when
     called without a parameter, ISMONO() tests to see if a monochrome
     adapter can be emulated.  This can be the case with a HERCULES, EGA, or
     VGA card.  When designated as .T., the function determines if a
     monochrome card is available.

 Note

     .  GETMODE() determines the active mode.

 Examples

     .  Can monochrome be emulated?

        IF ISMONO()
           *...
        ENDIF

     .  Monochrome adapter?

        IF ISMONO(.T.)
           *...
        ENDIF


See Also: VIDEOTYPE() GETMODE() MONOCHROME()

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