pTAL Reference Manual (G06.24+, H06.09+, J06.03+)

base
indicates a number base as follows:
%Octal
%bBinary
%hHexadecimal
The default base is decimal.
integer
is one or more of the following digits:
0 through 9Decimal
0 through 7Octal
0 or 1Binary
0 through 9, A through F (not case-sensitive)Hexadecimal
D, %D
are suffixes that specify INT(32) constants:
DDecimal
DOctal
DBinary
%DHexadecimal
Examples of INT(32) numeric constants:
0D
+14769D
-327895066d
Decimal
%1707254361d
-%24700000221D
Octal
%B000100101100010001010001001dBinary
%h096228d%d
-%H99FF29%D
Hexadecimal
For readability, always specify the % in the %D hexadecimal suffix to prevent the suffix from being
confused with the integer part of the constant. The following format, where a space replaces the
% in the %D suffix, is allowed but not recommended:
-%H99FF29 D
The system stores signed integers in two’s complement notation (see INT Numeric (page 58)).
60 Data Representation