Reserved Words and Expressions : Expressions : Action Expressions

Action Expressions

Action expressions can contain multiple actions separated by semicolons (;).

The following table lists the action statements and how they appear in the language of Rational Statemate.

 
Action Expression
E is a primitive, single event (not an array).
X’s type is compatible with the type of the queue components.
Conditional return S is optional.
C is a primitive, single condition (not an array).
Moves the head of the queue Q into data-item or condition X; returns status S
X’s type is compatible with the type of the queue components.
Copies the head of the queue Q to data-item or condition X; returns status S
X’s type is compatible with type of queue components.
Conditional return S is optional.
Adds data-item or condition X to the tail of queue Q
X’s type is compatible with the type of the queue components.
X is a primitive (not an alias) data-item or condition, or array (including slices). Bit-array components or slices are not allowed.
Performs action K, delayed by N clock units
N is a numeric expression.
C is a primitive, single condition (not an array).
Adds data-item or condition X to the head of queue Q’s components
X’s type is compatible with the type of the queue components.
X is a primitive (not an alias) data-item or condition, or array (including slices). Bit-array components or slices are not allowed.
X is a primitive or alias data-item, array or bit-array, condition or array condition (including slices).
Raises X to the Y power