Rule Builder > Technical Rule Language Reference > Subtokens for Action Tokens > = (Token in an Action)

The subtoken = represents the possible assignments. When you click this subtoken, a drop-down list displays the operators, as shown in Table 24.21.

Table 24.21   Operators of the Token in the Action Part of a Rule
Operator 
Description 
 <none>
Method call. 
 =
Equal assignment. 
 +=
Add right operand to left operand and store result in left operand. 
 -=
Subtract right operand from left operand and store result in left operand. 
 *=
Multiply left operand by right operand and store result in left operand. 
 /=
Divide left operand by right operand and store result in left operand. 
 %=
Modulo divide left operand by right operand and store result in left operand. 
 ELSE
Optional clause that is executed according to the value of the evaluate statement. See also to evaluate

See Also

Tokens for the Condition Part of a Rule | Subtokens for Condition Tokens | Tokens for the Action Part of a Rule | Using Generic and Shortcut Menus in TRL


Customer Support | Copyright © 1987-2004 ILOG S.A. All rights reserved. Legal terms. PREVIOUS   NEXT