Current.view: Difference between revisions
From Sierra Wiki
Jump to navigationJump to search
sierraw>Andrew Branscom m 1 revision imported |
m 1 revision imported |
(No difference)
|
Revision as of 00:27, 3 June 2024
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) |