Why is that I canât call tables from a dictionary? This thing has been quite bothersome and has taken up a lot of time trying to resolve as Iâm just trying to code my project and finish stuff up. Is there a better method to go about dictionary/table stacking than this?
You indeed can get these values inside the dictionary by just indexing them, but youâre misunderstanding the real problem.
Your method 1 is indexing a table which does only have an index with a nil value, so for the script, this value doesnât exist. With your method 2 is actually happening the exact same thing, but is printing out the other two because they have actual values.
If you change the nil value for something like âHello world!â it will print the table as expected.
Thanks, I canât believe such a simple thing was misunderstood!
But I kid you not, and no one would believe me even if I said so-- the same blank table output happened even though the key was [âMobile Task Forceâ], and not [âClass-Dâ]. Now it mysteriously works, and [âMobile Task Forceâ] prints the entire table.>!? It was not working earlierâŚ