Graphics

From AGI Wiki
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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