9.23  snip%

A direct instance of snip% is uninteresting. Useful snips are defined by instantiating derived subclasses, but this class defines the basic functionality.

In deriving a new snip class, these methods must be overridden to create a useful snip:

If a snip can contain more than one item, then the snip's count must be maintained as well.

To define a class of snips that can be saved or cut-and-pasted:

To define a class of snips that read specially with open-input-text-editor: