Sign in Join
FPDoc Onlineexperiment

HashName function

In unit sysutils

Calculate a hash from a null-terminated string.

Declaration

pascal
function HashName(Name: PAnsiChar): LongWord

Description

HashName calculates a hash value from a null terminated string. The hash value is calculated in such a way that it returns the same value for strings that only differ in case.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.