[AIT logo]

Institut für Astronomie und Astrophysik

Abteilung Astronomie

Sand 1, D-72076 Tübingen, Germany
[Uni logo]


FITS_CLOSE Source code in fits_close.pro

FITS_CLOSE

Name
      FITS_CLOSE
Purpose
       Close a FITS data file
Category

Parameters

Calling Sequence
       FITS_CLOSE,fcb
Input Parameters
       FCB: FITS control block returned by FITS_OPEN.
Keyword Parameters
       /NO_ABORT: Set to return to calling program instead of a RETALL
               when an I/O error is encountered.  If set, the routine will
               return  a non-null string (containing the error message) in the
               keyword MESSAGE.   If /NO_ABORT not set, then FITS_CLOSE will
               print the message and issue a RETALL
       MESSAGE = value: Output error message
Example
       Open a FITS file, read some data, and close it with FITS_CLOSE
               FITS_OPEN,'infile',fcb
               FITS_READ,fcb,data
               FITS_READ,fcb,moredata
               FITS_CLOSE,fcb
Revision History
       Written by:     D. Lindler      August, 1995
       Converted to IDL V5.0   W. Landsman   September 1997
       Do nothing if fcb an invalid structure D. Schlegel/W. Landsman Oct. 2000
       Return Message='' for to signal normal operation W. Landsman Nov. 2000

Last modified by pro2html on 2005 January 22 at 17:19 UTC

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

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