# list-commands macro

The list-commands macro produces a report
showing every executable command in the specified master dictionary
(md); this includes: Procs, macros, menus, cataloged FlashBASIC programs
(BASIC commands) and D3 commands.

## Syntax

```
list-commands md.name{(options}
```

## Parameter(s)

| md.name | Name of the master dictionary. | |
| --- | --- | --- |
| options | n | Activates the nopause function on output to the terminal. |
| p | Directs output to the system printer via the spooler. | |

## Example(s)

```
list-commands md
```
Directs the report to the spooler.

```
list-commands dm,, (p
```

## See also

- [list-macros macro](https://d3codex.com/tcl/list-macros-macro/)
- [Options (TCL)](https://d3codex.com/tcl/options-tcl/)

---
Source: https://d3codex.com/tcl/list-commands-macro/ - part of the D3Codex reference.
