About Chandra Archive Proposer Instruments & Calibration Newsletters Data Analysis HelpDesk Calibration Database NASA Archives & Centers Chandra Science Links

Skip the navigation links
Last modified: December 2006

URL: http://cxc.harvard.edu/ciao3.4/paramclose.html
Hardcopy (PDF): A4 | Letter
AHELP for CIAO 3.4 paramclose Context: paramio

Synopsis

Close a parameter file opened by paramopen.

Syntax

paramclose( Param_File_Type )

Description

Close the parameter file associated with the given Param_File_Type variable - the return value of paramopen().

As with all the paramio routines, the PF_Errno variable is set to 0 on success, or on error it is set to one of the error codes listed in the paramio documentation.

Example

variable fp = paramopen("dmextract");
% use fp in other paramio routines
paramclose(fp);

Here we open the parameter file for dmextract and then close it. In real-world applications you would use one of the other paramio routines to query or change the parameter file in between opening and closing it.

Hardcopy (PDF): A4 | Letter
Last modified: December 2006



The Chandra X-Ray Center (CXC) is operated for NASA by the Smithsonian Astrophysical Observatory.
60 Garden Street, Cambridge, MA 02138 USA.    Email: cxcweb@head.cfa.harvard.edu
Smithsonian Institution, Copyright © 1998-2004. All rights reserved.