Returning the correct type

Blitz3D Forums/Blitz3D Programming/Returning the correct type

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

It's not the only way, no. I'd say with a good hashing algorithm, a hash table is one of the best ways to do it.

http://en.wikipedia.org/wiki/Hash_table

There appears to be one in the code archives, but don't take that as a recommendation from me, as I no longer use B3D. It's by Octothorpe though, so it should be good.

http://www.blitzbasic.com/codearcs/codearcs.php?code=1439