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
(Created page with "{{DISPLAYTITLE:_CONSOLECURSOR}} The '''_CONSOLECURSOR''' statement is used to switch the text cursor in Console Windows off/on or change its size. {{PageSyntax}} : _CONSOLECURSOR {{Parameter|{_HIDE|_SHOW}}}[, {{Parameter|size%}}] {{PageParameters}} * {{Parameter|_HIDE}} or {{Parameter|_SHOW}} switch the text cursor off or on respectively, the default at program start is on. * The optional {{Parameter|size%}} is specified as percentage value (0-100) of the con...") |
No edit summary |
||
Line 4: | Line 4: | ||
{{PageSyntax}} | {{PageSyntax}} | ||
: [[_CONSOLECURSOR]] {{Parameter| | : [[_CONSOLECURSOR]] {{Parameter|_HIDE|_SHOW}}[, {{Parameter|size%}}] | ||
Line 50: | Line 50: | ||
* [[_CONSOLETITLE]], [[_CONSOLEFONT]] | * [[_CONSOLETITLE]], [[_CONSOLEFONT]] | ||
* [[_CONSOLEINPUT]], [[_CINP]] | * [[_CONSOLEINPUT]], [[_CINP]] | ||
* [[ | * [[Metacommand]]s | ||
{{PageNavigation}} | {{PageNavigation}} |
Revision as of 14:00, 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[, 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