Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Turbo Basic - <b>locate position the cursor</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
LOCATE                   Position the Cursor

 LOCATE [row][,[col][,[cursor][,[start][,stop]]]]

    Sets the size and position of the cursor.

         row    A numeric expression in the range 1 to 25. Sets the row
                position of the cursor.

         col    A numeric expression in the range 1 to 40 or 1 to 80. Sets
                the column position of the cursor.

      cursor    A numeric expression. If 1, the cursor is visible; if 0,
                the cursor is invisible.

       start    A numeric expression in the range 0 to 31. Sets the
                starting scan line for the cursor.

        stop    A numeric expression in the range 0 to 31. Sets the ending
                scan line for the cursor. If start is specified and stop
                is not, stop assumes the value of start.

   -------------------------------------------------------------------------

      Notes:    Cursor scan lines are numbered from 0 (top) to 7 (CGA) or
                13 (MDA).

                If stop is less than start, a two-part (wraparound) cursor
                results.

                If the softkey display on line 25 has been turned off (via
                KEY OFF), you may write to line 25 by means of LOCATE.
                Line 25 does not scroll in any case.

                Any argument to LOCATE may be omitted. Omitted arguments
                retain former values.

See Also: CSRLIN POS

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