HEX primary command

In View and Edit, you can use the HEX primary command to set or reset the hexadecimal display in CHAR, HEX, SNGL or TABL display formats. This command is not available in LHEX display format.

In selection lists, you can use the HEX primary command to set or reset the hexadecimal display of the displayed data.

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.

In View and Edit, 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 or HEX:
    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.

Availability

Related tasks and examples