Set Local Variable to Random Value in Row Template

This page demonstrates setting and injecting Hashtag Variables using random values.  
Processing this Hashtag Markup:
<# start list for colors;
	limit 5;
#>
<# start row #>
	<# set <# dice1 #> to random from 1 to 6; #>
	<# set <# dice2 #> to random 1..6; #>
	You rolled <# dice1 #> <# dice2 #><br>
<# end row #>
<# end list #>
You rolled 4 3
You rolled 3 6
You rolled 6 6
You rolled 4 4
You rolled 1 3



The Hashtag Markup Language provides List Templates to process a series of Records.  

The examples in this section cover the various List Directives, and demonstrate the capabilities of Hashtag Markup in List Templates.