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