SetPos Function | |
Move the cursor to a new position on the terminal window.
Namespace:
XSharp.RT
Assembly:
XSharp.RT (in XSharp.RT.dll) Version: 2.21
Syntax FUNCTION SetPos(
iRow AS LONG,
iCol AS LONG
) AS VOID
public static void SetPos(
int iRow,
int iCol
)
Request Example
View SourceParameters
- iRow
- Type: Long
The new row position of the cursor - iCol
- Type: Long
The new column position of the cursor
Return Value
Type:
Remarks
SetPos() moves the cursor to the specified location, and updates Row() and Col() with the new cursor position.
Examples
This example shows the relationship between the DevPos() function and the @...SAY command:
1SetPos(10, 10)
2? Qout("Hello there")
See Also