# lfd macro

The lfd macro produces a sorted listing
of all file-defining items in the specified file, along with the description
attribute from each file pointer.

## Syntax

```
lfd file.reference {(options}
```

## Parameter(s)

| options | n | Activates the nopage function on output to the terminal. |
| --- | --- | --- |
| p | Directs output to system printer via the spooler. | |
| s | Suppresses output of item-IDs. | |

## See also

- [File reference (Access Query Language)](https://d3codex.com/access/file-reference-access-query-language/)
- [File-defining items](https://d3codex.com/definitions/file-defining-items/)
- [list-files command](https://d3codex.com/tcl/list-files-command/)
- [listfiles command](https://d3codex.com/tcl/listfiles-command/)
- [Options (Access Query Language)](https://d3codex.com/access/options-access-query-language/)

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