GetResourceStringHash

Declaration:
Function GetResourceStringHash(TableIndex,StringIndex : Longint) : Longint;
Description:
GetResourceStringHash returns the hash value associated with the resource string in table TableIndex, with index StringIndex.

The hash value is calculated from the default value of the resource string in a manner that gives the same result as the GNU gettext mechanism. It is stored in the resourcestring tables, so retrieval is faster than actually calculating the hash for each string.

Errors:
If either TableIndex or StringIndex is zero, 0 is returned.
See also:
Hash (606) SetResourceStrings (612), GetResourceStringDefaultValue (603), GetResourceStringHash (604), GetResourceStringName (605), ResourceStringTableCount (611), ResourceStringCount (610)

For an example, see Hash (606).