Developing Apama Applications > Apama EPL Reference > Lexical Elements > Literals > Integer literals > Base 16 literals
Base 16 literals
Base 16 integral literal values begin with the characters 0x, and consist of a combination of the decimal digits 0 through 9 and the hexadecimal digits a through f and A through F.
Base16IntegerLiteral
Examples
j := 0x0;
j := 0x0d;
j := 0x0aFF;
j := 0x7fffffffffffffff;
The number 0x7fffffffffffffff or (263 - 1) is the largest base 16 integer literal value that can be represented.
You cannot specify a negative hexadecimal literal. The correlator treats hexadecimal literals as unsigned integers. For example, the following is illegal:
-0x43af
Copyright © Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its Subsidiaries and or/its Affiliates and/or their licensors.
Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG.