Graphics: Difference between revisions

From Sierra WikiNew
Jump to navigationJump to search
m (1 revision imported)
 
m (1 revision imported)
 
(No difference)

Latest revision as of 00:03, 3 June 2024

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