This documentation was styled with a demo skin from the Premium Pack 4 add-on for Help & Manual. The contents of the skin are encrypted and not configurable. You can only publish HM projects with this skin. You cannot edit it or change it.
This version is copyright and may only be used for local testing purposes. It may not be distributed.
Please purchase the full version of the Premium Pack to get the configurable skins and remove this notice. The package will also include the Toolbox configuration utility for Premium Pack skins.
Description
Compare two memory areas checking if they contain the exact same bytes.
Syntax
lResult = Memory_IsEqual(pMem1, pMem2, Size)
Returns
Number.
%TRUE: means the two memory areas contains the same content
%FALSE: means the two memory areas contains different content
Parameters
Name |
Type |
Optional |
Meaning |
pMem1 |
Numeric |
No |
A valid 32-bit memory address |
pMem2 |
Numeric |
No |
A valid 32-bit memory address |
Size |
Numeric |
Yes |
A numeric expression that specifies the number of consecutive bytes to check |
Remarks
| Attention: | it is programmer responsibility to be sure that at the two addresses there are at least Size bytes already allocated otherwise application will crash with a GPF (General Protection Failure) runtime error will be fired by the operating system |
Restrictions
See also
Examples