# h command

The h command moves a literal string
of characters to the currently active output buffer.

## Syntax

```
h{string}{<}
```

## Parameter(s)

| string | The text for the output buffer. All characters immediately after the h are placed in the active output buffer at the current position of the pointer, including leading and trailing spaces. |
| --- | --- |
| < | Place a carriage return in the output buffer and must follow each discrete parameter when moving multiple parameters to the secondary output buffer (following the ston command). |

## Description

Several h commands can be used to build suitable text. It does not actually
output until a carriage return is placed into the buffer.

## Example(s)

The h commands
move the strings following them to the end of the currently active
output buffer.

```
hlist entity
h name address phone
p
```
The `<` characters in the example are
required to separate or *stack* the strings to execute after
the list is retrieved.

```
hget-list invoices
ston
hlist-label invoices cust.name cust.addr custcsz (cip<
h1,3,1,0,30,0,c
p
```

## See also

- [a command (PROC processor)](https://d3codex.com/proc/a-command-proc-processor/)
- [ih command](https://d3codex.com/proc/ih-command/)
- [PROC buffers](https://d3codex.com/proc/proc-buffers/)
- [PROC processor](https://d3codex.com/proc/proc-processor/)
- [PROC buffers](https://d3codex.com/proc/proc-buffers/)

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