Cancel.line
From AGI Wiki
Jump to navigationJump to searchThe 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) |