# decatalog command

The decatalog command removes the compiled
BASIC or FlashBASIC object code of the specified items from the dictionary
of the specified file, and removes the corresponding command entry
(or entries) from the master dictionary of the current account.

## Syntax

Warning: The file containing BASIC source code items *must* be defined as a
 two-level file, that is, it must have both a dictionary and data section.

```
decatalog file.reference itemlist*
```

## Description

A program does not have to be previously cataloged to be decataloged. If the program command
 does not exist in the master dictionary, decatalog still deletes the object
 code.

 Once a program item has compiled successfully, an *object-code* pointer item
 is placed in the dictionary level of the file. This *pointer* item defines the virtual
 location where the object code is actually stored. The name of the object pointer item is the
 same as that of the source program itself.

## Example(s)

```

 decatalog bp enter.supplier
 [242] ’enter.supplier’ decataloged!
```

## See also

- [cat command](https://d3codex.com/tcl/cat-command/)
- [run command](https://d3codex.com/tcl/run-command/)

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