Skip to main content
insightsoftware Documentation insightsoftware Documentation
{%article.title%}
Published:
Was this article helpful?
0 out of 0 found this helpful

Set Property

Use this command to set a value on a pre-defined property of an object type variable.

Syntax

SET PROPERTY ObjectVarName.Property = Value

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.

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

Published:

Set Property

Use this command to set a value on a pre-defined property of an object type variable.

Syntax

SET PROPERTY ObjectVarName.Property = Value

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.

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

For an optimal Community experience, Please view on Desktop