HEX primary command

The HEX primary command sets or resets the hexadecimal display format.

Syntax


1 HEX
1! ON
1 OFF
(no parameter)
Toggles the correct hexadecimal-display status. That is, it turns hexadecimal display ON if currently OFF, and turns hexadecimal display OFF if currently ON.
ON
Display the hexadecimal representation of the data vertically (three lines per byte).
OFF
Display the data in character format.

Availability

Related tasks and examples

The effect of issuing the HEX command depends upon the current display format when you issue the command, as follows:

  • When the current display format is CHAR, HEX or LHEX:
    HEX ON
    Changes the display format to HEX. This is equivalent to entering HEX in the Format field.
    HEX OFF
    Changes the display format to CHAR. This is equivalent to entering CHAR in the Format field.
  • When the current display format is SNGL or TABL:
    HEX ON
    Changes the display of each field to show the vertical hexadecimal representation of each field in the two lines immediately below the formatted field.
    HEX OFF
    Changes the display back to standard SNGL or TABL format, without hexadecimal representations.
For example, if you are browsing data in TABL display format and your display looks something like this:
Shire Name      Type    Code1  Code2       SHIRE-ROAD
#3              #4         #5     #6               #7
AN 1:20         AN 21: ZD 22: ZD 25:          PD 30:8
<---+----1----> -        <--> <---+> <---+----1----+>
SHARK BAY       0         804    139       2322240304
WYALKATCHEM     0         431    124        100110022
then issuing the command HEX ON causes the hexadecimal representation to be displayed:
Shire Name      Type    Code1  Code2       SHIRE-ROAD
#3              #4         #5     #6               #7
AN 1:20         AN 21: ZD 22: ZD 25:          PD 30:8
<---+----1----> -        <--> <---+> <---+----1----+>
SHARK BAY       0         804    139       2322240304
ECCDD4CCE444444 F         FFF  FFFFF         00032434
281920218000000 0         804  00139         0022200C

WYALKATCHEM     0         431    124        100110022
EECDDCECCCD4444 F         FFF  FFFFF         00010102
681321338540000 0         431  00124         0000102C