Linked List Enhancement ...

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by kbell.

Hello! Pure Basic is great! I was wondering if it would by possible to add a "hash" function or some such to add the ability to access a list item via a key. In other words, instead of a "selectitem" with just a numeric index, I would like to access an item by a value that could be a string. For example, I could use a social security number as a key to point to an item in a linked list containing name and address info ...

Just a thought ... Thanks! KDB