TXTML

The markup language for Subversive (Mobile) Storytelling

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>
...

introduction
installation
authoring txtml
definition
event handlers
flow control
conditions
variables
content
math
other
feeds
requestors
formats
admin interface
extending