Skip to the navigation links
Last modified: December 2009

URL: http://cxc-newtest.cfa.harvard.edu/ciao4.2/paramclose.html
AHELP for CIAO 4.2

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.

Bugs

See the bugs page for the paramio module on the CIAO website for an up-to-date listing of known bugs.

See Also

concept
parameter
modules
paramio
paramio
paccess, paramopen, pget, pgets, plist_names, pquery, pset, punlearn
tools
dmhistory, dmkeypar, dmmakepar, dmreadpar, paccess, pdump, pget, pline, plist, pquery, pset, punlearn

Last modified: December 2009