Previous Topic: First FormNext Topic: Integer Literals


Second Form (HEX)

The second form of character string literals begins with an X, followed by a sequence of characters that starts and ends with a string delimiter. The characters between the string delimiters must be an even number of hexadecimal digits. A hexadecimal digit is either a digit or any of the letters: A B C D E or F (upper or lower case).

This form of string literal allows you to specify characters that do not have a keyboard representation (for example, X'FFFF' or X'01DABC').