First time poster ... forgive any violations, please.
I have been struggling to find the correct syntax for looping (using For i = 0 to ... and NOT using For Each) through nested Dictionaries when the Item in the Inner Dictionary is an Array.
The code using For Each works fine, but for the life of me, I cannot get the syntax right using For i = 0 to ...
As you can see in the code below, I have an outer Dictionary and two inner Dictionaries. The two inner Dictionaries each have two String Keys and each Key has one Array as the Item.
I can easily access the Keys and Items in the outer Dictionary using a series of For Each statements, but when I try to translate that to For i = 0 to ..., I just can't figure out the syntax.
Specifically, I can't figure out the syntax for the Keys for the inner Dictionary, nor can figure out the looping parameters for accessing the individual Array items. (See the areas in the code near the
bottom of the code where there is [... can't figure out the syntax ...] text.
Any help would be appreciated. Thanks in advance.
Please Login or Register to view this content.
Bookmarks