RosettaCodeData/Task/Bitwise-operations/BASIC/bitwise-operations-1.basic

7 lines
88 B
Text
Raw Permalink Normal View History

2013-04-10 16:19:29 -07:00
SUB bitwise (a, b)
PRINT a AND b
PRINT a OR b
PRINT a XOR b
PRINT NOT a
END SUB