Purpose |
Return the least significant Byte, Word, Integer, Double-word, or Long-integer of an expression. Allows easy conversion between signed and unsigned expressions. | ||||||||||||||||||
Syntax |
bytevar = BITS?(expression) wordvar = BITS??(expression) dwordvar = BITS???(expression) intvar = BITS%(expression) longvar = BITS&(expression) | ||||||||||||||||||
Remarks |
The various BITS functions return the least-significant bits of expression, as shown in the following table:
| ||||||||||||||||||
See also |