Product Information > JADE Error Messages and System Messages > 6000 through 6999 - JADE Compiler Errors > 6269 - Hex byte exceeds maximum byte value

6269   Hex byte exceeds maximum byte value

Cause

This error occurs if any of the component bytes of a hexadecimal binary literal exceed the allowable range for byte values.

Hexadecimal binary literals in JADE are represented as a sequence of space-separated hexadecimal characters, enclosed in square brackets; for example:

DaysInMonth = #[1F 1C 1F 1E 1F 1E 1F 1F 1E 1F 1E 1F];

The allowable range for byte values is 00 through FF.

The following code fragment is an example of this error when defining a method constant.

constants
    InvalidBin = #[41 42 430];    // error, invalid hex byte value 430

Action

Change the hexadecimal byte so that it is within the permitted range. Insert spaces if they have been accidentally omitted between bytes.