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 5 4
You rolled 4 6
You rolled 3 1
You rolled 6 4
You rolled 2 2