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


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


Purpose:       To control the shape of the hardware text cursor.


Arguments:     <expN1> is the first scan line of the cursor.
               <expN2> is the last  scan line of the cursor.


Returns:        0 = Successful
               -1 = Syntax error


Usage:         The hardware scan lines are hardware dependent.
               On Monochrome monitors it is 0 and 7
               On colour, CGA, EGA it is 0 and 14.

               Default values in modes 0-3 are:-
               First scan line = 6
               Last  scan line = 7

               Default values in mode 7 (Monochrome) are:-
               First scan line = 11
               Last  scan line = 12


Examples:      * Cursor shape examples
               L_CURSOR(0,7)              && Block cursor
               L_CURSOR(2.6)              && Smaller cursor


Language:      Assembler

See Also: L_TCURSOR()

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