Anonymous user
Binary digits: Difference between revisions
m
→{{header|Forth}}
m (→{{header|Phix}}: added syntax colouring the hard way) |
|||
Line 2,109:
\ we can easily compile a word into the system to set 'BASE' to 2
: binary 2 base ! ;
\ interactive console test with conversion and binary masking example
hex 0FF binary .
decimal 679 binary .
binary 11111111111 00000110000 and . 110000 ok▼
decimal ok▼
</lang>
|