Get.priority: 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 get.priority command stores the current priority of a screen object in a variable.
Syntax
get.priority(obj oA, var vPRI);
Remarks
Variable vPRI is set to the priority of screen object oA.
Possible Errors
AGI does not check that object number oA is a valid screen object. If it is not, the returned value will be meaningless.
Example
Code:
get.priority(o1, v50);
print("Object 1 priority is %v50);
Technical Information
Required Interpreter Version: | Available in all AGI versions. |
Byte-Code Value: | 57 (0x39 hex) |