SP_RAT_ROWL

RAT_ROWL() Returns mouse row at the last left button press

 Returns
 <nRow> => mouse row at last left button press

 Syntax
 RAT_ROWL()

 Description
 Returns mouse row at the last left button press (as
 recorded by a call to rat_leftb() )

 Examples
  if rat_leftb()

    ?"While you were out:"

    ?"Left button was depressed at"

    ??rat_rowl(),rat_coll()

  endif

 Notes:
 This is different from RAT_ROW() in that RAT_ROW()
 tells the mouse row NOW wherease RAT_ROWL() tells where the
 mouse was at the last recorded left button press (as recorded by
 a call to rat_leftb() )

 Source: S_MOUSE.ASM

 

SP_RAT_ROW

RAT_ROW() Current mouse row

 Returns
 <nRow> => mouse row right now

 Syntax
 RAT_ROW()

 Description
 This gives the CURRENT mouse row

 Examples
  ?"Mouse is at row :",rat_row()

 Notes:
 This is different from RAT_ROWL() or RAT_ROWR() in
 that these two functions return the recorded row when the mouse
 button was last pressed, RAT_ROWL() for left or RAT_ROWR() for
 right.

 This function tells where the mouse is right now.

 Source: S_MOUSE.ASM

 

SP_RAT_COLR

RAT_COLR() Returns mouse column at the last right button
 press

 Returns
 <nColumn> => mouse column at last right button press

 Syntax
 RAT_COLR()

 Description
 Returns mouse column at the last right button press

 (as recorded by a call to rat_rightb() )

 Examples
  if rat_rightb()

    ?"While you were out:"

    ?"Right button was depressed at"

    ??rat_rowr(),rat_colr()

  endif

 Notes:
 This is different from RAT_COL() in that RAT_COL()
 tells the mouse row NOW whereas RAT_COLR() tells where the mouse
 was at the last recorded right button press (as recorded by a
 call to rat_rightb() )

 Source: S_MOUSE.ASM

SP_RAT_COLL

RAT_COLL() Returns mouse column at the last left button press

 Returns
 <nColumn> => mouse column at last left button press

 Syntax
 RAT_COLL()

 Description
 Returns mouse column at the last left button press

 (as recorded by a call to rat_leftb() )

 Examples
  if rat_leftb()

    ?"While you were out:"

    ?"Left button was depressed at"

    ??rat_rowl(),rat_coll()

  endif

 Notes:
 This is different from RAT_COL() in that RAT_COL()
 tells the mouse row NOW whereas RAT_COLL() tells where the mouse
 was at the last recorded left button press (as recorded by a
 call to rat_leftb() )

 Source: S_MOUSE.ASM

SP_RAT_COL

 RAT_COL() Current mouse column

 Returns :
 <nRow> => mouse column right now

 Syntax :  RAT_COL()

 Description : This gives the CURRENT mouse column

 Examples :   
   ? "Mouse is at column :",rat_col()

 Notes:
 This is different from RAT_COLL() or RAT_COLR() in
 that these two functions return the recorded column when the
 mouse button was last pressed, (RAT_COLL() for left or
 RAT_COLR() for right).

 This function tells where the mouse is right now.

 Source: S_MOUSE.ASM

 

SP_RAT_AREA

 RAT_AREA() Limits the mouse to a rectangular area of the screen

 Returns  None

 Syntax  RAT_AREA(nTop,nLeft,nBottom,nRight)

 Description

 Limits the mouse to a rectangular area of the screen
 determined by <nTop,nLeft,nBottom,nRight>. Mouse cannot move
 outside of these boundaries.

 Examples

  RAT_AREA(10,10,20,20) // limits the mouse to 10,10,20,20 area

 Notes:

 Be sure to set the mouse area back to fullscreen when
 you're done.

 Source: S_MOUSE.ASM