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


Syntax:        L_XRANGE(<expN1>,<expN2>)


Purpose:       To restrict the movement of the mouse cursor on the
               horizontal axis.


Arguments:     <expN1> is the minimum vertical (row) number of the
               specified range.

               <expN2> is the maximum vertical (row) number of the
               specified range.


Returns:       Nothing.


Usage:         <expN1> and <expN2> may be specified in any order.
               The mouse driver will swap them if <expN1> is greater
               than <expN2> thereby giving the intended result.


Examples:      * Limit mouse movement on the horizontal axis
               minx = 8
               maxx = 40
               L_XRANGE( (minx%80) * 8,(maxx % 80) * 8)


Language:      Assembler

See Also: L_SETMAREA() L_YRANGE()

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