An hash array dictonary step by step
#27
What's throwing me off is that the way I learned a Dictionary Structure it has 2 parts for each item, a Key and a Value for that Key.
1) Key is lookup Identifier like names of variables or colors or words 
2) the associated value(s) would be qualities of the name, values for the variable, or colors in _RGB32 say for the color name or definitions for word keys. 

So Steve's example is too simple. It is a regular dictionary function you would use for checking if words existed in a given dictionary. You aren't even getting the associated definition for a word. It's very nice for what it is though. Smile

ref:
https://en.wikibooks.org/wiki/A-level_Co...ctionaries
b = b + ...
Reply


Messages In This Thread
RE: An hash array dictonary step by step - by bplus - 04-14-2023, 05:18 PM



Users browsing this thread: 19 Guest(s)