unique ID based object
A unique-ID-based script object.
unique ID based object properties
| Property |
Type |
Access |
Description |
| class |
integer |
read |
The class descriptor type. |
| id |
integer |
read |
The object’s unique id. |
| index |
integer |
read |
Index of the object within its parent object. |
| label |
string |
r/w |
A label that can be set to any string. |
| object reference |
object |
read |
An object reference for this object. |
| parent |
object |
read |
The object’s parent. |
| properties |
record |
r/w |
Property that allows setting of several properties at the same time. |
unique ID based object methods
| Method |
Returns |
Description |
| extract label |
string |
Get the label value associated with the given key. |
| insert label |
Nothing |
Set the label associated with the given key. |
Previous post: user dictionary
Next post: trap preset