Difference between revisions of "Current.view"
From AGI Wiki
Jump to navigationJump to search (Created page with "The '''current.view''' command stores the number of the view currently assigned to an object in a variable. == Syntax == current.view(obj oA, variable|va...") |
(No difference)
|
Latest revision as of 19:22, 29 March 2019
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) |