ARRAY Mode

Use ARRAY mode when you want to loop through all elements of an existing array variable.

To define a FOREACH command in ARRAY mode


    1. Insert the FOREACH command. The FOREACH dialog box appears.

    1. In the Comment field, enter any comments you want to include for the command you are defining.

    Note: Comments are only written to the rule procedure; use this field to explain the purpose of or provide a description of the command you are defining.

    1. In the Type field drop-down list, select ARRAY.

    1. In the Array field drop-down list, select the array variable.

    1. In the Variable field drop-down list, select the variable with the same data type as the array's value. On each iteration, this variable contains the value of the current Array element.

    1. Click OK.