SP_RAT_EQMROW

RAT_EQMROW()

  Short:
  ------
  RAT_EQMROW() Returns mouse row at last press

  Returns:
  --------
  <nRow> => mouse row at last button press (left or
  right)

  Syntax:
  -------
  RAT_EQMROW()

  Description:
  ------------
  Returns mouse row at last press (LEFT OR RIGHT).
  S_MOOSE.PRG has two static variables, 'mouserow' and 'mousecol'.
  These are set each time RAT_EVENT() determines that the mouse
  has been depressed.

  Examples:
  ---------
   e := 0

   while e#27
      e := rat_event(30)
      do case
      case e == 0
        ? "Timed out after 30 seconds"
      case e < 400
        ? "Key press with inkey() value of :",e
      case e == 400
        ? "Left mouse button pressed at :"
        ?? "row-> ",rat_eqmrow()
        ?? "col-> ",rat_eqmcol()
      case e == 500
        ? "Right mouse button pressed at :"
        ?? "row-> ",rat_eqmrow()
        ?? "col-> ",rat_eqmcol()
      endcase
   end

  Source:
  -------
  S_MOOSE.PRG

See Also : RAT_ELBHD(), RAT_EQMCOL(), RAT_ERBHD(), RAT_EVENT(), 
           RAT_ISMOUSE(), RAT_LASTEV(), RAT_MENU2(), RAT_READ()

11 responses to “SP_RAT_EQMROW

  1. Pingback: SP Mouse Functions | Viva Clipper !

  2. Pingback: SP Event Functions | Viva Clipper !

  3. Pingback: SP Functions | Viva Clipper !

  4. Pingback: SP_RAT_READ | Viva Clipper !

  5. Pingback: SP_RAT_MENU2 | Viva Clipper !

  6. Pingback: SP_RAT_LASTEV | Viva Clipper !

  7. Pingback: SP_RAT_ISMOUSE | Viva Clipper !

  8. Pingback: SP_RAT_EVENT | Viva Clipper !

  9. Pingback: SP_RAT_ERBHD | Viva Clipper !

  10. Pingback: SP_RAT_EQMCOL | Viva Clipper !

  11. Pingback: SP_RAT_ELBHD | Viva Clipper !

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.