CONSOLECURSOR: Difference between revisions
Jump to navigation
Jump to search
Navigation:
Main Page with Articles and Tutorials
Keyword Reference - Alphabetical
Keyword Reference - By usage
Report a broken link
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
{{PageSyntax}} | {{PageSyntax}} | ||
: [[_CONSOLECURSOR]] {{Parameter|_HIDE|_SHOW}}[, {{Parameter|size%}}] | : [[_CONSOLECURSOR]] {{Parameter|<nowiki>{_HIDE|_SHOW}</nowiki>}}[, {{Parameter|size%}}] | ||
Revision as of 14:01, 4 October 2024
The _CONSOLECURSOR statement is used to switch the text cursor in Console Windows off/on or change its size.
Syntax
- _CONSOLECURSOR {_HIDE|_SHOW}[, size%]
Parameters
- _HIDE or _SHOW switch the text cursor off or on respectively, the default at program start is on.
- The optional size% is specified as percentage value (0-100) of the console line height.
Description
Availability
Examples
- Example 1
- Simple usage example how to use the _CONSOLECURSOR statement.
$CONSOLE:ONLY _CONSOLECURSOR _HIDE LINE INPUT "Input without cursor: ", a$ PRINT _CONSOLECURSOR _SHOW , 50 LINE INPUT "Input with half line height cursor: ", a$ PRINT _CONSOLECURSOR , 10 PRINT "press any key...";: SLEEP SYSTEM |
See also