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


Syntax:        L_CHKMDRVR()


Purpose:       To determine if the mouse driver is present or absent.


Arguments:     None.


Returns:       A logical (.T.) is returned if the mouse driver is
               present and functional.
               A logical (.F.) is returned if the mouse driver is
               absent or non-functional.


Usage:         L_CHKMDRVR() must return .T. if the mouse functions are
               to be used.


Examples:      * Check for presence of mouse driver
               status = L_CHKMDRVR()
               IF status
                  buttons = L_ISMOUSE()
                  IF buttons=0
                     @ 10,10 say "Mouse driver functional."
                     @ 11,10 say "Mouse absent of not functional."
                     wait
                  ENDIF
               ELSE
                  @ 10,10 say "Mouse driver not present."
               ENDIF


Language:      Assembler

See Also: L_ISMOUSE()

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