Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- TSDWIN: Clipper 5.0 Interface Library - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

 _twM5B( nB )
 ----------------------------------------------------------------------------
     Get the number of presses of a particular button since the last
     time this function (Interrupt 33h Function 5) was called. The
     number of presses ranges from 0 - 65,535 with no overflow. Use 0
     for the left button and 1 for the right.

     NOTE: Any call to Function 5 resets the internal count.

       Arguments:

     nB - 'N' 0 if you want the status of the left hand button.
              1 for the right hand button.

       Return:

     Number of button presses  since the last call to this function.

       Example:

     // clear button press information for the left button.
     _twM5A()
     // do some things
     nNumberofPresses := _twM5B( 0 ) -> No. presses of left button.

See Also: twMBPress()

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