| [Overview][Constants][Types][Classes][Procedures and functions][Index] | 
Hash calculation function.
Source position: contnrs.pp line 342
| type THashFunction = function( | 
| const S: string; | 
| const TableSize: LongWord | 
| ):LongWord; | 
| S | 
 | String to calculate hash value from. | 
| TableSize | 
 | Hash table size. | 
Hash value
THashFunction is the prototype for a hash calculation function. It should calculate a hash of string S, where the hash table size is TableSize. The return value should be the hash value.