Version
From Sierra Wiki
Jump to navigationJump to search
The version command displays a window showing version information for AGI.
Syntax
version();
Remarks
The phrase
Adventure Game Interpreter
Version xxxx
is displayed in the normal AGI message box (where 'xxxx' is the interpreter version). The user can press ENTER or ESCAPE to dismiss the message and return to the game.
This command is not particularly useful for normal game play, but it does allow a programmer to verify the version of AGI that a game is running on.
Possible Errors
None.
Example
Code:
if(said("show", "version")
{
version();
}
Technical Information
Required Interpreter Version: | Available in all AGI versions. |
Byte-Code Value: | 141 (0x8D hex) |