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


          Determines if the current screen is driven by a Color Graphics
          Adapter (CGA).  Adapters which are supersets of the CGA standard
          should be tested for EGA or VGA compatibility first.  An EGA or VGA
          emulating a CGA will not return indicating a CGA is attached.
          Returns a logical true (.T.) or false (.F.) indicator.


      Format: 

               iscga()


      Parameters: 

               None.


      Examples: 

               1.   Determine if the current monitor is standard CGA.

                    .
                    .
                    .
                    if iscga()
                         (do color stuff)
                    endif
                    .
                    .
                    .


      Returns: 

               .T.  .....Indicates that the current screen is a CGA type.

               .F.  .....Indicates that the current screen is not a CGA type.


      Cautions: 

               None.

See Also: ISEGA() ISVGA() ISMONO()

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