Binary digits: Difference between revisions

m
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 ! ; ok
 
 
\ interactive console test with conversion and binary masking example
 
hex 0FF binary . 11111111 ok
decimal 679 binary . 1010100111 ok
ok
binary 11111111111 00000110000 and . 110000 ok
 
binary 11111111111 00000110000 and . 110000 ok
decimal ok
 
decimal ok
 
</lang>
Anonymous user