Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FUNCky - <b>name:</b> <b>_isbutton() - check if a mouse button has been pressed</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  Name:     _isbutton() - check if a mouse button has been pressed
  Usage:    <logical> = _isbutton(<button>)
  Params:   integer <button> : 0=left, 1=right, (2=middle PC mouse)
  Returns:  .T. if button pressed, .F. if not

 ---------------------------------- Example ---------------------------------

                 if .not. _isbutton(1)
                      loop
                 else
                      mvar = m_row()
                 endif

  Note:     _isbutton() acts like isbutton() except that it does not clear
            lastkey(), does not return a key value, and is not a wait state.


See Also: isbutton() m_inbutton() m_release()

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