Hashtag Deep Loop for Multi-Dimensional Bucket Keys

This page uses Hashtag Variable Buckets to demonstrate Deep Loops.   Values are set for many Items, then all values are processed and displayed in a single Loop Template that spans multiple dimensions.   This page also demonstrates using the Set Command without a To Directive, defaulting to "set".  
Processing this Hashtag Markup:
<#

set my_bucket.name to "My Bucket";
set my_bucket.items.mainkey1.subkey1;
set my_bucket.items.mainkey1.subkey2;
set my_bucket.items.mainkey1.subkey3;
set my_bucket.items.mainkey2.subkey1;
set my_bucket.items.mainkey2.subkey4;
set my_bucket.items.mainkey3.subkey1;
set my_bucket.items.mainkey4.subkey2;
set my_bucket.items.mainkey4.subkey3;

#>

<h2><# my_bucket.name as html #> - Items</h2>

<# start deep loop for my_bucket.items; #>
	<hr>
	<#:	Table of Local Variable Tag ⇒ Values
		
		<# key #>
		<# key as bucket #>
		<# key as key #>
		<# key1 #>
		<# key2 #>
		<# value #>
		
	:#>
<# end loop #>

My Bucket - Items


<# key #> ⇒ mainkey1.subkey1
<# key as bucket #> ⇒ mainkey1
<# key as key #> ⇒ subkey1
<# key1 #> ⇒ mainkey1
<# key2 #> ⇒ subkey1
<# value #> ⇒ set

<# key #> ⇒ mainkey1.subkey2
<# key as bucket #> ⇒ mainkey1
<# key as key #> ⇒ subkey2
<# key1 #> ⇒ mainkey1
<# key2 #> ⇒ subkey2
<# value #> ⇒ set

<# key #> ⇒ mainkey1.subkey3
<# key as bucket #> ⇒ mainkey1
<# key as key #> ⇒ subkey3
<# key1 #> ⇒ mainkey1
<# key2 #> ⇒ subkey3
<# value #> ⇒ set

<# key #> ⇒ mainkey2.subkey1
<# key as bucket #> ⇒ mainkey2
<# key as key #> ⇒ subkey1
<# key1 #> ⇒ mainkey2
<# key2 #> ⇒ subkey1
<# value #> ⇒ set

<# key #> ⇒ mainkey2.subkey4
<# key as bucket #> ⇒ mainkey2
<# key as key #> ⇒ subkey4
<# key1 #> ⇒ mainkey2
<# key2 #> ⇒ subkey4
<# value #> ⇒ set

<# key #> ⇒ mainkey3.subkey1
<# key as bucket #> ⇒ mainkey3
<# key as key #> ⇒ subkey1
<# key1 #> ⇒ mainkey3
<# key2 #> ⇒ subkey1
<# value #> ⇒ set

<# key #> ⇒ mainkey4.subkey2
<# key as bucket #> ⇒ mainkey4
<# key as key #> ⇒ subkey2
<# key1 #> ⇒ mainkey4
<# key2 #> ⇒ subkey2
<# value #> ⇒ set

<# key #> ⇒ mainkey4.subkey3
<# key as bucket #> ⇒ mainkey4
<# key as key #> ⇒ subkey3
<# key1 #> ⇒ mainkey4
<# key2 #> ⇒ subkey3
<# value #> ⇒ set


The Hashtag Framework provides Loop Templates for iterative and repetitive processing of Hashtag Markup.  

The examples in this section cover the different types of Loop Templates: Bucket, Range, and Until Conditional.