Matrix1 Utility Plug-ins

COMPARE MEMORY


Syntax

Comparison = COMPARE MEMORY( MemoryAddress1, MemoryAddress2, NumberOfBytes )

Description

This function is used to compare the memory at the two specified locations byte-by-byte.

This function will return a value of 0 if the two memory areas are identical.
It will return a negative number if the first address contains bytes that are lower than the second memory address, or a positive number otherwise.

The absolute value of the number returned, if not zero, contains the position within each memory location of the first byte that is different (i.e. both -1 and 1 signal that the memory differs at the first byte).

Go back to ...

Matrix1Util_04 Commands Menu
Matrix1 Utils Main Index
Matrix1 Utils Command List
Commands Menu
Main Menu

Copyright © Ian Mold - Matrix1 Software 2006 - 2011