Important: The information in this document is obsolete and should not be used for new development.
scComp
You can use thescComp
TIB instruction to compare data on a SCSI device with data in memory.
--> scParam1
Ptr
A pointer to a data buffer. --> scParam2
LongInt
The number of bytes to be compared. DESCRIPTION
ThescComp
TIB instruction is used in conjunction with theSCSIRead
function to compare data in memory with incoming data from a SCSI device. The SCSI Manager compares the result of the read command with the contents of the data buffer pointed to byscParam1
. ThescParam2
parameter specifies the number of bytes to read and compare. If all bytes do not compare, theSCSIRead
function returns the result codescCompareErr
.
- SCSI Manager 4.3 Note
- You should avoid using the
scComp
TIB instruction because it is not supported by SCSI Manager 4.3.