Rule Builder > Technical Rule Language Reference > Tokens for the Action Part of a Rule > while |
while |
PREVIOUS NEXT |
The token while
is used to build an IRL while statement similar to the Java 'While':
while (test) body
The body is executed as soon as 'test' returns true. The test is reevaluated in every loop. When you click the while
token, the following code is displayed:
THEN
while <enter a value>
The while
token is composed of the two subtokens given in Table 24.15:
<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. |
| 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 |