28 Bad HEX

Hexadecimal numbers can only include the numbers 0 to 9 and A to F. If you try to form a hex number with other characters this error will occur. For example:

PRINT &HEX : REM Invalid character X