BeebMaster

Working with Hexadecimal




In 8-bit BBC BASIC, there isn't an operator to work with binary numbers, but hexadecimal has two operators - the ampersand (&) indicates that the number which follows is a hex number. The squiggly thing (~) indicates that the number which follows is decimal but it is to be printed in hex.



Click here to return to Hex