WaitForCursorPos

Description

Waits until the host has positioned the cursor at a certain row and column position

Syntax

ret = WaitForCursorPos (row, column, timeout)

Parameters

ret

Integer, output

 

0 = OK

 

Non zero = Timed Out

 

 

row

Integer, input

 

The row position to wait for the cursor to be positioned at.

 

 

column

Integer, input

 

The column position to wait for the cursor to be positioned at.

 

 

timeout

Integer, input

 

The number of seconds to wait before indicating a time out condition.

Remarks

This is a PASSPORT command.

Example

Sub ZMain()
WaitForCursorPos 1,1,10
End Sub