The method is used to compare 2 bit strings, bit by bit.
binstring1, binstring2 − The binary string value that needs to be compared.
The returned value is the bit number of the first bit which is different in both strings.
/* Main program */ options arexx_bifs say bitcomp('7F'x,'FF'x)
When we run the above program we will get the following result.