Specifying Radixes
◄Contents► ◄Index► ◄.RADIX directive►
──────────────────────────────────────────────────────────────────────────────
Name Base Specifier Digits
Binary 2 B 0 1
Octal 8 Q or O 0 1 2 3 4 5 6 7
Decimal 10 D 0 1 2 3 4 5 6 7 8 9
Hexadecimal 16 H 0 1 2 3 4 5 6 7 8 9 A B C D E F
To indicate the radix of a constant, place the specifier at the end of
the number. Specifiers and hexadecimal digits can be uppercase or
lowercase. Hexadecimal numbers must always start with a decimal digit (0
to 9). If the first digit is one of the letters A to F, prefix the
number with a leading 0 to distinguish it from a symbolic name.
-♦-