Important: The information in this document is obsolete and should not be used for new development.
scComp
You can use thescCompTIB instruction to compare data on a SCSI device with data in memory.
--> scParam1PtrA pointer to a data buffer. --> scParam2LongIntThe number of bytes to be compared. DESCRIPTION
ThescCompTIB instruction is used in conjunction with theSCSIReadfunction 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. ThescParam2parameter specifies the number of bytes to read and compare. If all bytes do not compare, theSCSIReadfunction returns the result codescCompareErr.
- SCSI Manager 4.3 Note
- You should avoid using the
scCompTIB instruction because it is not supported by SCSI Manager 4.3.![]()