Rule Builder > Technical Rule Language Reference > Tokens for the Action Part of a Rule > for

The token for is similar to the Java 'for' loop.When you click the for token, the following code is displayed:

 THEN
  •  for <enter a value>
    
  • The for token is composed of the two subtokens given in Table 24.16:

    Table 24.16   Subtokens for for
    Subtoken 
    Function 
    <enter a value>  Insert a value. The value must be an expression that returns an object or value. 
    break  Exit a loop. 
    continue  Skip an iteration of a loop. 

    images/blueArrow_icon.gif

    Add a nested action. You can select any action except the timeout action. 


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