Set Variable to Random Value

This page demonstrates setting and injecting Hashtag Variables using random values.  
Processing this Hashtag Markup:
<# set dice1 to random from 1 to 6; #>
<# set dice2 to random 1..6; #>
Note:  Hashtag Markup Variable Tags are shown below <# in bold #>.   The value generated by processing those Variable Tags is injected into this HTML page after the ⇒ symbol.  
<#[dice1]#> ⇒ 2
<#[dice2]#> ⇒ 4


The Hashtag Markup Language provides many methods for setting variable values, and using them later.

Variable Buckets can hold many values, processed together.   Variable Contexts enable safe injection anywhere.