Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper 5.2 . The Guide To CA-Clippe - <b>setpos()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 SETPOS()
 Move the cursor to a new position
------------------------------------------------------------------------------
 Syntax

     SETPOS(<nRow>, <nCol>) --> NIL

 Arguments

     <nRow> and <nCol> define the new screen position of the cursor.
     These values may range from 0, 0 to MAXROW(), MAXCOL().

 Returns

     SETPOS() always returns NIL.

 Description

     SETPOS() is an environment function that moves the cursor to a new
     position on the screen.  After the cursor is positioned, ROW() and COL()
     are updated accordingly.  To control the shape and visibility of the
     cursor, use the SETCURSOR() function.

 Examples

     .  This example moves the cursor to a new position then displays
        a string to the screen using a console command, ??:

        SETPOS(1, 1)
        ?? "Hello world"

 Files:  Library is CLIPPER.LIB.

See Also: COL() ROW() SET CURSOR SETCURSOR()

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