Sets cursor position in a line.
Scope: View
Syntax
query position
set position Number
Option
| Number | A positive integer up to the length of the content of the line + 1. |
Description
The position parameter moves the current position within the character content of the current line. The value of Number must be positive and can be set no farther than one space to the right of the last character of the line.
| Note: | A tab character is counted as a single column in the line. |
Example
To set the current position to the first column of the current line, type:
set position 1
API Return Codes
-2 |
The Number specified was either outside the valid range or not a whole number. Issue the command again using a valid number. |
![]()
