Looking for a clean way to find the LSB in a Word that is high (1) and returning result as a word value. Rebuilding some FTView multistate indicators in perspective and looking for the LSB capability.
Frank
Looking for a clean way to find the LSB in a Word that is high (1) and returning result as a word value. Rebuilding some FTView multistate indicators in perspective and looking for the LSB capability.
Frank
Use an expression binding bitwise AND operator to check any bit.
{[default]test/intTest} & 1
will return a 1 for decimal values 1, 3, 5, 7, etc.
{[default]test/intTest} & 4
will return a 1 for decimal values 4 - 7, 12 - 15, etc. as well as -1 - -4, etc.