This set of routines provide access to any textual information associated with the catalogue14. They try to keep access to the textual information as simple as possible. The text is accessed one line at a time, with each line corresponding, for example, to a single FITS COMMENT or HISTORY keyword. No facilities are provided to interpret a line. It is assumed that each line will either be displayed to the user or copied to another catalogue.
CAT_GETXT returns a single line of text. Subsequent calls to CAT_GETXT work sequentially through the textual information, returning the lines in sequence. The application cannot specify that it wants a particular line. However CAT_RSTXT is provided to `reset' the sequence for a catalogue, so that the textual information can be read through an arbitrary number of times.
Each line has a class associated with it. When a line is read the
class is returned; an application cannot prescribe that it wants a
class of a particular value. The classes supported vary for the
different catalogue formats, though on output the standard classes
COMMENT and HISTORY are always available. Appendix
lists the classes supported by individual catalogue formats.
A call to CAT_PUTXT appends a line of textual information to the end of the existing textual information for a catalogue. The only way to add new textual information is by appending it to the end.
In all these routines CI must be a catalogue identifier.
CAT [1ex