CURSOR

CURSOR

Welcome to our Knowledge Base

Documentation | Blog | Demos | Support

< All Topics
Print

CURSOR

Positions the text cursor in the current window.

 

Note: This command has been deprecated in Zim 8.50.
It is still accepted for backwards compatibility, but it is ignored.

Syntax

CURSOR expression1 expression2

Parameters

expression1A number or an expression that evaluates to a number. If the expression is complex, it must be enclosed in parentheses.
Indicates the character row in which the cursor is to be positioned. It should be a number from 1 to the maximum number of rows in the current window.
expression2A number or an expression that evaluates to a number. If the expression is complex, it must be enclosed in parentheses.
Indicates the character column in which the cursor is to be positioned. It should be a number from 1 to the maximum number of columns in the current window.

Comments

The text cursor is placed at the specified row (expression1) and column (expression2) coordinates.

Examples

cursor 10 (60/2)

output “Press Enter to continue” ;

input

Positions the cursor at row 10 and column 30, and displays a message.

 

input $CursorRow $CursorCol

cursor $CursorRow $CursorCol

Prompts for a new cursor position, and moves the cursor.

Was this article helpful?
0 out of 5 stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
5
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.

Leave a Reply

Your email address will not be published. Required fields are marked *

en_CAEnglish