Anonymous user
Bitwise operations: Difference between revisions
Lingo added
m (→{{header|Ada}}) |
(Lingo added) |
||
Line 1,521:
end function
</lang>
=={{header|Lingo}}==
Lingo has built-in functions for bitwise AND, OR, XOR and NOT:
<lang lingo>put bitAND(2,7)
put bitOR(2,7)
put bitXOR(2,7)
put bitNOT(7)</lang>
Bit shifting and rotating has to be implemented by custom functions.
=={{header|LiveCode}}==
|