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_yrange()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
                                 L_YRANGE()


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



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


Arguments:     <expN1> is the minimum horizontal (column) number of
               the specified range.

               <expN2> is the maximum horizontal (column) 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:      * Restrict the mouse to a vertical band.
               miny =  5
               maxy = 20
               L_YRANGE( (miny % 25) * 8,(maxy % 25) * 8)


Language:      Assembler

See Also: L_SETMAREA() L_XRANGE()

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