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


Syntax:        L_GRID(<expN1>,<expN2>,<expN3>,<expN4>,
               <expN5>,<expN6>,<expN7>)


Purpose:       To draw a grid of lines on the screen at the specified
               coordinates in the specified color and with the
               specified spacing between the lines.


Arguments:     <expN1> is the x co-ordinate of the upper left corner
               of the grid.

               <expN2> is the y co-ordinate of the upper left corner.

               <expN3> is the x co-ordinate of the lower right corner.

               <expN4> is the y co-ordinate of the lower right corner.

               <expN5> is the distance between two horizontal lines.

               <expN6> is the distance between two vertical lines.

               <expN7> is the color code number
               (CGA range 0 - 3, EGA/VGA range 0 - 15)


Returns:       Nothing.


Usage:         Useful for placing a grid on the screen for use with
               graphs.


Examples:      L_GMODE(18)
               L_GRID(30,30,450,610,10,10,8)


Language:      C

See Also: L_GMODE() L_BOX() L_BOXFIL() L_CIRCLE() L_CIRCLF()

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