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
- TheSpeedvariable with a numeric (Int32) value defines the speed of the Motor object.
- A style characteristic of a graphic object
- TheText colorvariable defines the color of the Label object
- Various object properties
- A dynamic link to theEmbeddedDatabase1object defines the Store variable value.
Provide Feedback