Position the cursor at the new position
ret = SetCursor (row, column)
ret | Integer, output |
0 = OK | |
Non zero = Error | |
row | Integer, input |
The new row position of the cursor. | |
column | Integer, input |
The new column position of the cursor. |
This function moves the cursor to a new position specified by a row and column position. Row 1 column 1 indicates the home position in the upper left corner of the screen. Care must be taken not to position the cursor off the screen.
This is a PASSPORT function.
Sub
ZMain()
SetCursor 1,1
End Sub
This example positions the cursor at the home position, row 1 column 1.