Performs binary comparison on two files.
bCompare = SYS_CompareBinary (sFile1, sFile2)
|bCompare||Whether the files are the same. BOOLEAN.|
|sFile1||The name of the first file to compare. STRING.|
|sFile2||The name of the second file to compare. STRING.|
SYS_CompareBinary performs a binary comparison on two files and returns TRUE if the files are the same, and FALSE if not.
SYS_CompareBinary does not support wildcard characters in file names; both sFile1 and sFile2 must uniquely identify a file.
SYS_CompareBinary is executed by the Agent process, not the Silk Test Classic process. To affect the host process, use the function with the hHost notation or machine handle operator. For more information about the machine handle operator and hHost, see Machine handle operator.
BOOLEAN bCompare bCompare = SYS_CompareBinary ("res1.dat", "res1.dat") Print (bCompare) // prints: TRUE bCompare = SYS_CompareBinary ("res1.dat", "res2.dat") Print (bCompare) // prints: FALSE