# h command (Editor processor)

The h command toggles the display between ASCII and
 hexadecimal-encoded ASCII.

## Syntax

```
 h
```

## Example(s)

While editing an item, type the h command to toggle the display for the
 current line and any subsequent line displays until the h command is typed
 again.

 **Example 1**

```

 :ed customers 1
 top
 001 Comp Products
 002 10 Executive Dr
 003 Farmington
 .h
 hex display on
 004 436F6E6E65637469637574
 005 3036303332
 006 526F62657274205065746572736F6E
 .h
 hex display off
 007 Operations Manager
 008 203/665-0353
 009 203/665-1254
 .
```

 Note: This is display-only. When using the l command to search or the
 r command to replace (or other similar Editor commands) ASCII is
 assumed.

 **Example 2**

```

 001 Comp Products
 .h
 hex display on
 .1
 001 436F6D702050726F6475637473
 .r/C/D
 001 446F6D702050726F6475637473
 .h
 hex display off
 .f
 top
 .1
 001 Domp Products
 .
```

## See also

- [Editor overview](https://d3codex.com/editor/editor-overview/)
- [l command (Editor processor)](https://d3codex.com/editor/l-command-editor-processor/)
- [r command (Editor processor)](https://d3codex.com/editor/r-command-editor-processor/)

---
Source: https://d3codex.com/editor/h-command-editor-processor/ - part of the D3Codex reference.
