scComp
You can use the scComp 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
The scComp TIB instruction is used in conjunction with the SCSIRead 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 by scParam1. The scParam2 parameter specifies the number of bytes to read and compare. If all bytes do not compare, the SCSIRead function returns the result code scCompareErr.
- SCSI Manager 4.3 Note
- You should avoid using the
scComp TIB instruction because it is not supported by SCSI Manager 4.3.