Set.cursor.char

From AGI Wiki
Jump to: navigation, search

The set.cursor.char command sets the cursor character.

Syntax

set.cursor.char(msg mCURSORCHAR);
set.cursor.char("message text");

Remarks

The cursor character (the character displayed at the end of the player input line) is set to the first character of the message referenced by argument mCURSORCHAR.

Possible Errors

None.

Example

Code:
set.cursor.char("_"); [ underscore is a common choice for cursor
set.cursor.char(">>>"; [ only the first character is used

Technical Information

Required Interpreter Version: Available in all AGI versions.
Byte-Code Value: 108 (0x6C hex)

See Also

Display Commands