User Guide > Objects > Alphabetical Listing > Variable

 Variable

Variables are objects that store values or retrieve them dynamically.

Object class: Active object
Object type (short name):
VARA 

Variable objects can either be static or dynamic. Already when you create a Variable object, you can define its type in the Source setting in the Attributes tab. Note that you cannot change this type subsequently. 

Variable Source Description
Static
STATIC
XML

In a static Variable object, you can enter values manually or by using script. These values remain stored in the object.

The variable tab includes a table that displays all values. Users can either modify these values manually or specify additional values. Each entry (line) consists of one key and five value columns.

The script elements :PUT_VAR, :PUT_VAR_COL and :DELETE _VAR are only available for static variables.

Dynamic
EXEC
SQL
SQL SECURE
SQL - internal
SQL - internal SECURE
Multi
File list
Backend

The values of dynamic Variable objects are not stored in the object. They are directly retrieved from the specified data source while they are accessed. This process is referred to as variable resolution. Values can neither be defined by a user nor by script.

The values of static and dynamic Variable objects can be read using the script element GET_VAR.

Depending on a variable's content, you can use it to influence the processes of your AE system. Static variables can also be used to have current values displayed in cockpits.

In addition to the manual handling of static Variable objects in the Explorer, you can also use the following script elements:

In addition to Variable objects, AE also uses script variables. Information about agents is provided in the document that describes agent variables.

The Search function can be used to search for object names, keys and values of static Variable objects.