-
Declaration:
- Function Hash(S : AnsiString) : longint;
-
Description:
- Hash calculates the hash value of the string S in a manner that is compatible with the GNU
gettext hash value for the string. It is the same value that is stored in the Resource string
tables, and which can be retrieved with the GetResourceStringHash (604) function call.
-
Errors:
- None. In case the calculated hash value should be 0, the returned result will be -1.
-
See also:
- GetResourceStringHash (604),
Listing: refex/ex93.pp