Status.line.on

From AGI Wiki
Revision as of 19:11, 23 April 2019 by Andrew Korson (talk | contribs) (Created page with "The '''status.line.on''' command enables and displays the status line. == Syntax == status.line.on(); == Remarks == The status line, which displays the current score...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

The status.line.on command enables and displays the status line.

Syntax

status.line.on();

Remarks

The status line, which displays the current score and sound on/off status, is added to the display, and is enabled, so future changes in score and sound status will be updated.

Use the status.line.off command to hide and disable the status line.

Possible Errors

None.

Example

Code:

<syntaxhighlight lang="agi"> if(said("show", "status"))

 {
 status.line.on();  [ it's that simple
 }

</syntaxhighlight>

Technical Information

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

See Also

Display Commands
configure.screen
status.line.off