Variables

Variables

In Match Developer 2.0 (MD2) the way variables are defined and categorised has changed from previous versions, although the processing of variables by the inference machine remains the same. Variable categories have been combined, and are referred to and generalized as the Variable type.

In the bottom pane of the navigator you can view the variables, which have been created. The type Standard will be shown on top of the Variable list by default. Scroll through the list or sort the list to see any Display variables. Goal variables and lost variables will be listed as a property along with the domain type. Sort the variable list by selecting Variable Name, Type, or Properties in the header row.

Standard variable

Standard variables include variables previously referred to as System variables, Goal variables, and initialization variables. Except for Display variables, all Match variables are Standard variables and can be used to hold intermediate results and the end result used in the inference process or they can hold values needed at the start of the evaluation of a knowledge table.

Display variable

A display variable can now be created anew or from any existing variable by changing its properties. The display variable is used to display results or messages to the user.

Display variables are used in knowledge tables along with the keyword DISPLAYVAR or SHOWVAR.

Only in action values display variables texts can be concatenated with AND.

When changing a standard variable, which is used in a condition to a display variable, the variable can no longer be used as a condition, action or initialisation variable.