next up previous
Next: NDF_HPUT - Write history information to an NDF
Up: FORTRAN ROUTINE DESCRIPTIONS
Previous: NDF_HOUT - Display text from an NDF history record

   
NDF_HPURG - Delete a range of records from an NDF history component

Description:
The routine deletes a specified range of records from an NDF history component. The remaining records are re-numbered starting from 1.

Invocation:
CALL NDF_HPURG( INDF, IREC1, IREC2, STATUS )

Arguments:
INDF = INTEGER (Given)
NDF identifier.
IREC1 = INTEGER (Given)
Number of the first history record to be deleted.
IREC2 = INTEGER (Given)
Number of the last history record to be deleted.
STATUS = INTEGER (Given and Returned)
The global status.

Notes:
  • This routine is provided primarily to allow a lengthy NDF history to be truncated in order to save space. To avoid deceiving subsequent readers, it is normally advisable not to delete arbitrary sections of an NDF's history, but to delete only the earliest part (by setting IREC1 to 1).
  • The IREC1 and IREC2 arguments must both identify valid history records which are actually present. Their values may be interchanged without affecting the behaviour of this routine.



next up previous
Next: NDF_HPUT - Write history information to an NDF
Up: FORTRAN ROUTINE DESCRIPTIONS
Previous: NDF_HOUT - Display text from an NDF history record


Starlink User Note 33
R.F. Warren-Smith
11th January 2000
E-mail:rfws@star.rl.ac.uk

Copyright © 2000 Council for the Central Laboratory of the Research Councils