4.2.4.1 Literals

Literal values are distinguished with a preceding pound sign (‘#’). Literal values can be hexadecimal, octal, binary or decimal format. Hexadecimal numbers are distinguished by a leading 0x. Octal numbers are distinguished by a leading 0. Binary numbers are distinguished by a leading B. Decimal numbers require no special leading or trailing character.

Examples:

#0xe, #016, #0b1110 and #14 all represents the literal value 14.

#-5 represents the literal value -5.

#symbol represents the value of symbol.