CP6100 I/O Process Programming Manual
 CPTEST
 Numbers
 In addition, the following special characters have specific
 meaning to CPTEST:
 ~ Tilde (CPTEST prompt)
 ' Single Quote (designates a single ASCII character)
 # Pound Sign (designates a decimal number)
 % Percent Sign (designates an octal number)
 %H Percent Sign-H (designates a hexadecimal number)
 %B Percent Sign-B (designates a binary number)
 = Equal Sign (specifies the CPTEST expression evaluation
 command)
 & Ampersand (continues the command line)
 NUMBERS
 CPTEST accepts binary, octal, decimal, and hexadecimal numbers as
 input. CPTEST assumes input numbers are hexadecimal unless you
 explicitly declare that they are not by entering one of the
 special characters as a base designator.
 A decimal number is a string composed of the digits 0 to 9
 preceded by the base designator "#". Thus, "#10" is the decimal
 number ten.
 An octal number is a string composed of the digits 0 to 7,
 preceded by the base designator "%". Thus, "%10" is the octal
 number ten (decimal eight).
 A hexadecimal number is a string composed of the digits 0 to 9
 and the alphabetic letters A through F. You can precede the
 string by the base designator "%H" if you wish, but it is not
 necessary. CPTEST assumes that input numbers are hexadecimal
 unless otherwise specified. Thus, "10" is the hexadecimal number
 ten (decimal sixteen) as is "%H10".
 When interpreting numbers that appear in the CPTEST output you
 must consider whether the number appears inside parentheses or
 outside parentheses. Numbers that appear outside parentheses are
 decimal numbers. Number that appear inside parentheses are
 hexadecimal numbers and are always preceded by a dollar sign
 ("$").
 The CPTEST expresssion evaluation command (=) allows you to
 convert between different numeric bases quickly and easily.
 B-5










