Variables

A variable is an element that represents a figure or a characteristic of an object and specifies the value of that characteristic.

Variable overview

Each variable:
  • Contains a DataType attribute

  • Can be structured to contain other variables

  • Contains descriptive attributes

  • Cannot contain objects

Tip: You cannot remove properties from predefined objects. For example, you cannot remove the Text property from a Label object.

Variable examples

For example, a variable can represent:
The speed of a physical object
The Speed variable with a numeric (Int32) value defines the speed of the Motor object.
A style characteristic of a graphic object
The Text color variable defines the color of the Label object
Various object properties
A dynamic link to the EmbeddedDatabase1 object defines the Store variable value.