# index-select command

Use the index-select BASIC program
to create an active list based on a single key or a range of keys.

## Syntax

```
index-select file.name index.specification key1{key2}
```

## Parameter(s)

| file.name | Name of the file. |
| --- | --- |
| index.specification | Attribute definition or an a-correlative (a1, a2, and so on). |
| key1 | Beginning key. |
| key2 | Ending key (if omitted, then only item-ids matching key1 will be selected) |

---
Source: https://d3codex.com/tcl/index-select-command/ - part of the D3Codex reference.
