$setObjectProperty
$setObjectProperty
will set a property of an existing object.
Usage
$setObjectProperty[objectName;property;value]
Parameters
Field | Type | Description | Required |
---|---|---|---|
objectName | string | Name of the object. | true |
property | string | Name of the property. | true |
value | string | Value of the property. | true |
Example(s)
This will return Ferel
from the Leref
Property:
1client.command({2 name: "setObjectProperty",3 code: `4 $getObjectProperty[Object Name;Leref]5 $setObjectProperty[Object Name;Leref;Ferel]6 $createObject[Object Name;{}]7 `8});