1 03/31/83 hash_index_
2
3
4 Entry points in hash_index_:
5 List is generated by the help command
6
7
8 :Entry: hash_index: 02/03/83 hash_index_
9
10
11 Function: returns the value of a hash function of a character string.
12
13
14 Syntax:
15 declare hash_index_ entry ptr fixed bin21 fixed bin
16 fixed bin returns fixed bin;
17 hash_value = hash_index_ string_ptr string_len mbz table_size;
18
19
20 Arguments:
21 string_ptr
22 is a pointer to the character string to be hashed. This character
23 string must be aligned. Input
24 string_len
25 is the length of the character string. Input
26 mbz
27 is reserved and must be zero. Input
28 table_size
29 is the number of entries in the hash table. Input
30
31 Notes:
32 The value returned is between zero and table_size-1, inclusive.