SetCursor

Description

Position the cursor at the new position

Syntax

ret = SetCursor (row, column)

Parameters
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.

 

Remarks

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.

Example

Sub ZMain()
SetCursor 1,1
End Sub

This example positions the cursor at the home position, row 1 column 1.