[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
SETPOS()
Move the cursor to a new position
------------------------------------------------------------------------------
Syntax
SETPOS(<nRow>, <nCol>) --> <nRow>
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 <nRow>
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:
ROW()
SET CURSOR
SETCURSOR()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson