Variables are declared in the top/right area of the Workbench Studio main window.

The variable editor is a grid tool that enables you to declare all variables of the application.

Variables in the editor are sorted by groups:

  • Global variables.
  • "Retain" non volatile global variables.
  • I/O variables (each I/O device is a group).
  • variables local to a program (including in and out parameters in case of a UDFB).

Please refer to the description of variables in the language reference for a more detailed overview.

Each group is marked with a gray header in the variable list. The "-" or "+" icon on the left of the group header can be used to expand or collapse the group:

Fixed_Image

Double-click the header line enables you to sort, show or hide columns, and to apply a filter for each column. Filter is described as a text string that may contain '?' and '*' wildchars.

Using the Grid:

Refer to the following topics for further information:

Each variable is described with:

  • a user group
    The user group enables logical sorting of variables in the grid.

Information: Use the Syb column to specify if the variable symbol must be embedded, such as defined in the variable properties.