public dictionary property does not exist ?

I have a dictionary property set to nil at runtime. It compiles and launches without error.

I have a for loop iterating around 250 times to add 250 keys to this dictionary. However… when it iterates, the very first iteration at i=0 the dictionary throws a nilobjectexception.

//txfee is public empty dictionary //tfee is a string array txfee.value(tfee(i)) = currencyitem(i)

It is specifically highlighting txfee as cause for nilobjectexception

Do I need to instantiate it ?

txfee = New Dictionary before the loop maybe?

Thanks Albin I’m going to try that real quick