This is a purebasic associative array / dictionary library using some GDSL hash table functions.
Find more information about GDSL at http://directory.fsf.org/all/GDSL.html
An associative array is an abstract data type composed of a collection of keys and a collection of values, where each key is associated with one value. The operation of finding the value associated with a key is called a lookup or indexing, and this is the most important operation supported by an associative array. The relationship between a key and its value is sometimes called a mapping or binding. For example, if the value associated with the key "bob" is 7, we say that our array maps "bob" to 7.
You have probably unicode and/or threasafe enabled.
- threadsafe : you need to activate the appropriate subsytem ; have a look at the help file PureDIC.chm ('threadsafe' topic).
- unicode : not supported (I didn't need it) ; you may add the unicode support yourself (see the included sources).
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
If you decide to work or enhance this library, would it be possible to add something to clear the table? Right now I'm closing and reopening which works. It's just that I thought it would be a neater solution to have something like PureDIC_Clear(*HashTable).
Thanks,
Randy
Maybe it's just a bunch of stuff that happens -- Homer Simpson
Randy wrote:If you decide to work or enhance this library, would it be possible to add something to clear the table? Right now I'm closing and reopening which works. It's just that I thought it would be a neater solution to have something like PureDIC_Clear(*HashTable).
It was a little while later that I spotted the beta version and downloaded it. The internal map system seems to work so far and had this request inside it.
I don't know when 4.40 becomes final so I'm keeping it and 4.31 just in case. Since 4.31 doesn't have mapping, your routines are still in place so this will help.
Thanks again,
Randy
Maybe it's just a bunch of stuff that happens -- Homer Simpson
Randy wrote:If you decide to work or enhance this library, would it be possible to add something to clear the table? Right now I'm closing and reopening which works. It's just that I thought it would be a neater solution to have something like PureDIC_Clear(*HashTable).
(on Wed Dec 03, 2014)
maya112 wrote:If you decide to work or enhance this library, would it be possible to add something to clear the table? Right now I'm closing and reopening which works. It's just that I thought it would be a neater solution to have something like PureDIC_Clear(*HashTable).
@maya112 (if you're not a figment of my imagination, as your name suggests), gnozal had already posted the solution:
Texas Instruments TI-99/4A Home Computer: the first home computer with a 16bit processor, crammed into an 8bit architecture. Great hardware - Poor design - Wonderful BASIC engine. And it could talk too!Please visit my YouTube Channel