| Function group | Execute on client | Platform(s) |
| Binary field | YES | All |
bittest(binary,firstbitnumber[,lastbitnumber=firstbitnumber])
Tests a range of bits (all bits with numbers >=firstBitNumber and <=lastBitNumber) in binary.Returns a Boolean (true if at least one bit in the range is set).
If any are 1, the function returns 1, otherwise it returns zero.
When executing on the client, the binary argument must be a 32-bit integer variable (as binary variables are not sent to the client).
CalculatelStatusasbittest(lBinary,lFirstBitNumber,lLastBitNumber)