Last modified: December 2013

URL: https://cxc.cfa.harvard.edu/ciao/ahelp/paramclose.html
Jump to: Description · Example · See Also


AHELP for CIAO 4.15

paramclose

Context: paramio

Synopsis

Close a parameter file opened by paramopen.

Syntax

paramclose(fp)

Description

Close the parameter file associated with the given Param_File object, the return value of paramopen().

The paramio module is not available by default; see "ahelp paramio" for information on loading the module.


Example

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.

See Also

paramio
paccess, paramio, paramopen, pget, pgets, plist, pquery, pset, punlearn