Last modified: December 2013

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


AHELP for CIAO 4.11 ChIPS v1

load_preferences

Context: preference

Synopsis

Loads ChIPS preferences from a file.

Syntax

load_preferences()
load_preferences(filename)

Description

The function arguments.

Argument Description
filename The file name to read from.

The load_preferences command loads ChIPS preferences from the specified file, which was created with the save_preferences command. The default file name is "$HOME/.chips.rc".

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


Examples

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