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

Create Property

Use this command to create a property on an existing variable of object type.

Syntax:

CREATE PROPERTY Object.Property AS STRING|NUM|OBJECT

where:

  • Object.Property is the name of the property to create.

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

 

Published:

Create Property

Use this command to create a property on an existing variable of object type.

Syntax:

CREATE PROPERTY Object.Property AS STRING|NUM|OBJECT

where:

  • Object.Property is the name of the property to create.

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

 

For an optimal Community experience, Please view on Desktop