Reserved Words and Expressions : Expressions : Action Expressions : Compound, Conditional, and Iterative Actions

Compound, Conditional, and Iterative Actions

Action expressions can contain multiple action statements separated by a semicolon (;). The following table lists the Rational Statemate action expressions.

 
for $I in N to |down to L loop VAR[$I] = 0; end loop;
$I is a context variable; N and L are integers.
C is a condition expression; the else part is optional. AN1 and AN2 are action expressions.
E is an event expression; the else part is optional. AN1 and AN2 are action expressions
C is a condition expression; AN is an action expression.