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:

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