Function: FTSD_DELETE Purpose: Deletes a record from a FITS header. Category: FITS File: ftsd_access.c Author: Sjag Steensma (K.G. Begeman) Use: INTEGER FTSD_DELETE( HEADER, Input CHARACTER*(*) DESCRIPTOR Input CHARACTER*(*) INDEX ) Input INTEGER FTSD_DELETE Returns: =>0 : Index of record deleted from header, -1 : Descriptor not found. -5 : Bad index. HEADER Contains FITS header to delete record from, DESCRIPTOR FITS search descriptor, INDEX Index of HISTORY or COMMENT descriptor to delete. Description: Ftsd_delete looks for the first occurence of a record with descriptor DESCRIPTOR. If found, the record is deleted from the header (i.e. filled with spaces). For the descriptors COMMENT and HISTORY an index should be given. Starting from the index, the first record with a descriptor as given will be deleted. If (index < 0) -5 is returned and nothing happens. Updates: Aug 14, 1990: Sjag; document created.