Integer Numbers

An integer is a sequence of digits. It is assumed to be decimal unless it starts with the digit '0' (which denotes an octal number) or with '0x' (digit zero followed by lower case 'x' or upper case 'X') which denotes a hexadecimal number.

Note

Octal numbers do not contain the digits '8' and '9' while hexadecimal numbers may contain 'a'…'f' and 'A'…'F'.

Example

EVALUATE 42    !decimal number
EVALUATE 010   !octal number, decimal value 8
EVALUATE 0x1F  !hexadecimal number, decimal value 31

See Also

For more complete information about compiler optimizations, see our Optimization Notice.