Retro Rocket OS
BASIC-Powered Operating System
Loading...
Searching...
No Matches
BITAND Function
X = BITAND(a, b)
Computes the
bitwise AND
of two integers.
How to read it
Returns only bits that are set in both
a
and
b
.
Examples
PRINT BITAND(&6, &3)
This example produces
2
.
Notes
Operates on 64-bit integers.
See also:
BITOR
ยท
BITNAND
Retro Rocket OS
BASIC Language Reference
Keywords
Generated by
1.14.0