Cancel.line
From AGI Wiki
Revision as of 16:53, 25 March 2019 by Andrew Korson (talk | contribs) (Created page with "The '''cancel.line''' command clears any text that is on the input line. == Syntax == cancel.line(); == Remarks == AGI clears the input line by sending backspace chara...")
The cancel.line command clears any text that is on the input line.
Syntax
cancel.line();
Remarks
AGI clears the input line by sending backspace characters to the line until the cursor is at the beginning of the line. The line is cleared even if it is not visible (after using the prevent.input command).
Possible Errors
None.
Example
Code:
<syntaxhighlight lang="agi"> [ if you want to erase whatever user has typed use this command cancel.line(); </syntaxhighlight>
Technical Information
Required Interpreter Version: | Available in all AGI versions. |
Byte-Code Value: | 138 (0x8A hex) |