H - Hexadecimal
Toggles the Editor's hexadecimal display format. When the Editor is in hexadecimal format, you can enter characters in hex as well as viewing them.
Syntax
H
Control Character Display
This command is most useful when you are editing items that contain control characters. The Editor displays control characters as a period (.) when in ASCII display format, so you cannot read them.
Status Messages
The Editor displays a message of either HEX ON
or HEX OFF
,
depending on the state of the display.
When H is ON, all commands that use strings must be entered as hexadecimal characters.
The initial state of the switch is OFF.
Example
View an item with both periods and ASCII control characters in hexadecimal format. The control characters in this example item are CTRL+D, CTRL+O, and CTRL+T (X'04', X'0F', and X'14'), the last three characters in attribute 9. The period is the tenth character in attribute 7 (X'2E').
:ED MD CTRL
NEW ITEM
Top
.I
001 This item demonstrates the use
002 of the Editor's H command.
003 This command is useful when you
004 want to know the value of an
005 ASCII control character or when
006 you want to know if a displayed
007 period ('.') is a true period or
008 if it's a control character like
009 the following sequence ...
010
Top
.FS
Top
.H
HEX ON
.P
001 54686973206974656D2064656D6F6E737472617465732074686520757365
002 6F662074686520454449544F522773204820636F6D6D616E642E
003 5468697320636F6D6D616E642069732075736566756C207768656E20796F75
004 77616E7420746F206B6E6F77207468652076616C7565206F6620616E
005 415343494920636F6E74726F6C20636861726163746572206F72207768656E
006 796F752077616E7420746F206B6E6F77206966206120646973706C61796564
007 706572696F642028272E27292069732061207472756520706572696F64206F72
008 696620697473206120636F6E74726F6C20636861726163746572206C696B65
009 74686520666F6C6C6F77696E672073657175656E636520040F14
EOI 009
.FI
'CTRL' filed in file 'MD'.