Chandra X-Ray Observatory (CXC)
Skip to the navigation links
Last modified: December 2012

URL: http://cxc.harvard.edu/chips/load_preferences.html
Jump to: Description · Examples · Bugs · See Also


AHELP for CIAO 4.5 ChIPS v1

load_preferences

Context: preference

Synopsis

Loads ChIPS preferences from a file.

Syntax

load_preferences([filename])

Description

  • filename - an existing preferences file.

The load_preferences command loads ChIPS preferences from the specified file, which was created with the save_preferences command. If no filename is supplied, ChIPS attempts to load "$HOME/.chips.rc". An error is printed if that file does not exist.

See "ahelp preferences" for general information on the attribute values and settings in ChIPS.

Example 1

chips> load_preferences()

Load preferences from the file "$HOME/.chips.rc".

Example 2

chips> load_preferences("/some/path/chips.pref")

Load preferences from the file "/some/path/chips.pref".

Bugs

See the bugs pages on the ChIPS website for an up-to-date listing of known bugs.

See Also

concepts
preferences
preference
get_preference, get_preferences, save_preferences, set_preference, set_preference_autoload, set_preferences

Last modified: December 2012
CXC logo

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-2012. All rights reserved.