flow control : end
DESCRIPTION
<end> will break the execution of a state, so that no additional submodules are processed. <end> is implicit in <quit>, <end>, <send>, and <return>.
PARAMETERS
none
EXAMPLES
<end> is useful for constructing 'case' statements:
...
<txt>
<if pattern="A">
This text will be sent only if input is A
</end>
</if>
<if pattern="B">
This text will be sent only if input is B
</end>
</if>
This text will be sent otherwise
</txt>
...
<txt>
<if pattern="A">
This text will be sent only if input is A
</end>
</if>
<if pattern="B">
This text will be sent only if input is B
</end>
</if>
This text will be sent otherwise
</txt>
...