comp • gb.data • trie • _next

For Each Trie (gb.data)

Dim hTrie As Trie
Dim aVariant As Variant
For Each aVariant In hTrie
  ...
Next

Enumerates all values in the Trie in lexicographic key order. The Key property is set for each enumerated value.

If you picture the Trie as a tree (and have all child nodes ordered lexicographically), the lexicographic traversal of the trie is the pre-order traversal of the tree (only counting nodes with a value).