Utility Functions : Calling List Utility Functions : Calling Functions on Reactions

Calling Functions on Reactions

The following two functions enable you to extract the trigger part and the action part from a reaction string, trigger/action:

stm_trigger_of_reaction (reaction, &status)
stm_action_of_reaction (reaction, &status)

They operate on a reaction string that was extracted by single-element functions that return lists of transition labels and static reactions of states.

The return values of the two functions are a string of type stm_expression. Because they are defined as static in the functions, you should copy them for later use.