Set Property
Use this command to set a value on a pre-defined property of an object type variable.
where:
- ObjectVarName is the name of tHe object variable.
- Property is the property that has been created on the specified object variable to be set.
- Value is the value to set.
Copy
Syntax example
// Create a variable of type object
Create Variable TestObject as Object
// Create properties of the object
CREATE PROPERTY TestObject.comments as String
CREATE PROPERTY TestObject.anyNumber as Num
// Set properties of an object
SET PROPERTY TestObject.comments = "My comment"
SET PROPERTY TestObject.anyNumber = 777