[AIT logo]

Institut für Astronomie und Astrophysik

Abteilung Astronomie

Waldhäuser Str. 64, D-72076 Tübingen, Germany
[Uni logo]


FXPARPOS() Source code in fxparpos.pro

FXPARPOS()

Name
       FXPARPOS()
Purpose
       Finds position to insert record into FITS header.
Explanation
       Finds the position to insert a record into a FITS header.  Called from
       FXADDPAR.
Calling Sequence
       Result = FXPARPOS(KEYWRD, IEND  [, BEFORE=BEFORE ]  [, AFTER=AFTER ])
Input Parameters
       KEYWRD  = Array of eight-character keywords in header.
       IEND    = Position of END keyword.
Optional Input Parameters
       None.
Output Parameters
       Result of function is position to insert record.
Optional Output
       None.
Keyword Parameters
       BEFORE  = Keyword string name.  The parameter will be placed before the
                 location of this keyword.  For example, if BEFORE='HISTORY'
                 then the parameter will be placed before the first history
                 location.  This applies only when adding a new keyword;
                 keywords already in the header are kept in the same position.
       AFTER   = Same as BEFORE, but the parameter will be placed after the
                 location of this keyword.  This keyword takes precedence over
                 BEFORE.
       If neither BEFORE or AFTER keywords are passed, then IEND is returned.
Procedures Used
       None.
Common Blocks
       None.
Restrictions
       KEYWRD and IEND must be consistent with the relevant FITS header.
Side Effects
       None.
Category
       Data Handling, I/O, FITS, Generic.
History
       William Thompson, Jan 1992.
Author
       William Thompson, GSFC, January 1992.
Revision History
       Version 1, William Thompson, GSFC, 12 April 1993.
               Incorporated into CDS library.
Version
       Version 1, 12 April 1993.
       Converted to IDL V5.0   W. Landsman   September 1997

Last modified by pro2html on 2001 April 26 at 03:12 UTC

[Home Page] [Software, Documentation] [IDL Documentation] [Quick Reference] [Feedback]

Jörn Wilms (wilms@astro.uni-tuebingen.de)
Updated automatically