BlockCmp (LabVIEW Manager Function)

int32 BlockCmp(p1, p2, numBytes);

Purpose

Compares two blocks of memory to determine whether one is less than, equal to, or greater than the other.

Parameters

Name Type Description
p1 UPtr Pointer to a block of memory.
p2 UPtr Pointer to a block of memory.
numBytes int32 Number of bytes you want to compare.

Return Value

A negative number, zero, or a positive number if p1 is less than, equal to, or greater than p2, respectively.