'' examples/manual/bits/bit.bas
''
'' Example extracted from the FreeBASIC Manual
'' from topic 'BIT'
''
'' See Also: https://www.freebasic.net/wiki/wikka.php?wakka=KeyPgBit
'' --------

Print Bit(&B1000, 3)
Print Bit(4,2)
Print Bit(5,1)
Print Bit(&H8000000000000000ULL,63)
