TXTML

The markup language for Subversive (Mobile) Storytelling

variables : set


DESCRIPTION

<set> assigns a variable to the user and formats the string if a format is provided.

Variables may only consist of numbers, letters, and the underscore.


PARAMETERS

var - which variable to set
value - what to set the variable to (optional; input by default)
format - how to filter the value (optional; normal by default)
     

EXAMPLES

...     
     <set var="name" format="firstname" />          
...


...     
     <set var="name" format="firstname">
          a string or other modules
     </set>          
...

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