Current.view
From Sierra WikiNew
Jump to navigationJump to search
The current.view command stores the number of the view currently assigned to an object in a variable.
Syntax
Remarks
vB is set to the view number for screen object oA.
Possible Errors
AGI does not check that object number oA is a valid object. If it is not, the returned value is meaningless.
Example
Code:
current.view(o0, v52); [ v52 now equals the view number assigned to ego
Technical Information
Required Interpreter Version: | Available in all AGI versions. |
Byte-Code Value: | 52 (0x34 hex) |