Unit 'sysutils' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]


Compare two memory areas.


Source position: sysstrh.inc line 83

function CompareMem(

  P1: Pointer;

  P2: Pointer;

  Length: PtrUInt



CompareMem compares, byte by byte, 2 memory areas pointed to by P1 and P2, for a length of L bytes.

The function returns True if all L bytes are the same, and False otherwise.

Documentation generated on: Jul 24 2023