Member of the bitwise class.
c = bitget(a, b)
Returns the value of a bit at a particular position in a number. For example, if a = 10 (1010), bitget(a, 4) = 1.
| Name | Description |
| a | Specifies a positive integer. a must be less than bitmax. |
| b | Specifies the position of the bit whose value you want to know. b is an integer. |
| Name | Description |
| c | Returns the value of the bit at position b in integer a. c can be either 0 or 1. |
A = 2345
C = bitget(A, 4)