Skip to main content

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

Was this article helpful?

We're sorry to hear that.