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

         Determines if the joystick is on a zone

    Syntax:

         jInArea( nY1, nX1, nY2, nX2 ) -> lInArea

         nY1, nX1, nY2, nX2 : The zone's co-ordinates

    Description:

         Determines if the joystick's controls is into a range.

    Return:

         A logic value indicating if it's inside the specified zone.

    Example:

         If jInArea ( 240, 330, 242, 340 )
           Warning ( "Ok. Joystick is in the middle" )
         EndIf

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