Defining a variable

You define variables in the definitions part of an action rule.

Procedure

To define a variable:

  1. Open the definitions part of the rule.
  2. Click the variable1 field and type a name for the variable.
  3. Select an item from the <select a choice > drop-down list. You can choose whether you want to bind the variable to:
    • a sentence from the vocabulary

    • an <object > : an instance of an object. If you choose an <object > , the placeholder <select an object > is shown. Click the placeholder and select the type of object you want to bind.

    • all <objects > : all instances of the same type. If you choose all <objects > , the placeholder <select objects > is shown. Click the placeholder and select the type of object you want to bind.

Results

Your variable is now defined. You can use it in all parts of the action rule.