I'm Trying To Make Dictionary Inside Another

Hi, I’m Trying to make a Dictionary that resemble years and inside that (every year) i want to make an empty one for every month
and i get error undefined when i try to set a new pair inside of one of the months

i made an loop that passes every task i need to do and put it in it’s month
notice to the diffrence with the variable YearsSorted and MonthSorted
YearsSorted Is already made Dictionary that already sorted tasks into their years
MonthSorted add another layer upon that of 12 Dictionaries for months.
for some reason i can see the structure of this before i set the first pair in all those empty dictionaries but get error after i set one or after i put it into label

this seems to get complicated…
let me suggest you to use the built in sqlite database

Taifun

1 Like