Graphics

From AGI Wiki
Jump to: navigation, search

The graphics command displays the graphics screen.

Syntax

graphics();

Remarks

The default display screen when AGI starts is the graphics screen. If the display is switched using the text.screen command, use the graphics command to switch it back.

If the graphics screen is already active, using this command refreshes the display.

Possible Errors

None.

Example

Code:
text.screen(); [ switch to text screen
...
graphics();    [ done with text screen; switch back to graphics

Technical Information

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

See Also

Display Commands
Graphics and Text Displays in AGI
text.screen