set
Assigns a value to a variable within a template.
Syntax
[set] var_name = expr
Input
- var_name
 - A variable name.
 - expr
 - Any valid numeric or string expression.
 
Example
- Example 1
 - 
                            
{set greeting = "Hello"} - Example 2
 - 
                            
{greeting = "Hello"} 
Comments
Variable names cannot be words reserved for Templex statements or math functions.
The keyword set is optional.