compare_memory_block — Compare contents of memory blocks regarding equality.
compare_memory_block( : : MemoryBlocks1, MemoryBlocks2 : IsEqual)
该算子 compare_memory_block compares the contents of two memory
block tuples and returns the comparison result in IsEqual. Therefore,
each memory block in the tuple MemoryBlocks1 is compared to the
respective block in the tuple MemoryBlocks2 with the same index.
IsEqual is set to TRUE if the number of elements of the two tuples
matches and if the length and byte content of each pair of memory blocks
coincides, otherwise to FALSE.
Note that compare_memory_block compares the memory blocks regarding
their actual byte content, not their location in memory.
MemoryBlocks1 (input_control) memory_block(-array) → (handle)
Tuple of reference memory blocks.
MemoryBlocks2 (input_control) memory_block(-array) → (handle)
Tuple of test memory blocks.
IsEqual (output_control) integer → (integer)
Boolean result value.
该算子 compare_memory_block 返回值 2 (
H_MSG_TRUE)
if the
passed handles are valid. Otherwise, an exception is raised.
Foundation