Returns the static reactions of the specified state. The syntax of these reactions istrigger/
action
.
●
To divide the static reactions into their trigger and action parts, use the utility routines
stm_trigger_of_reaction and stm_action_of_reaction
.
●
You can call this function without indicating the specific element type, as follows:
stm_r_reactions (st_id, status)
The function status codeTo extract all static reactions of stateS1
, use the following statements:VARIABLE
STATE state_id
INTEGER status;
LIST OF STRING reactions;
STRING react;
.
.
state_id := stm_r_st (’S1’, status);
reactions := stm_r_st_reactions (state_id, status);
IF status = stm_success THEN
FOR react IN reactions LOOP;
.
.
.