| AHELP for CIAO 4.5 ChIPS v1 | load_state |
Context: saving |
Synopsis
Restores a ChIPS session from a state file.
Syntax
load_state(filename)
Description
- filename - an existing state file.
The load_state command restores a ChIPS session from a state file that was created using the save_state command. The current session is cleared, then all data and ChIPS settings are restored from the file.
If any part of the undo command history is present in the state file, it is possible to undo those commands in the restored session.
Example 1
chips> load_state("plot.state")Load a session from the file plot.state.
Example 2
chips> load_state("/data/chips/plot.chips")Load a session from the file /data/chips/plot.chips.
Bugs
See the bugs pages on the ChIPS website for an up-to-date listing of known bugs.
See Also
- saving
- make_script, save_state

![[ChIPS Logo]](../imgs/chips_logo_navbar.gif)