BlobCompare Function
Syntax
Arguments
- Result
0 = The two blobs are identical in content and length. 1= The first blob is greater than the second. -1 = The second blob is greater than the first.
- Blob1
A variable containing binary data.
- Blob2
A variable containing binary data.
Description
Performs a byte by byte comparison of the two blobs. Returns 0 if equal, 1 if the left is greater, -1 if the right is greater.
Discussion
The BlobCompare() function indicates whether which of two blob variables is larger than the other. If the two variables have the same content, but different lengths, the longer variable is larger. If the two variables have different content, the comparison is byte-wise from the beginning until one of the two variables has a larger value.
Limitations
Desktop applications only.
See Also