atomsSaveConfig
Make a backup of the configuration file
Syntax
atomsSaveConfig() atomsSaveConfig(force)
Arguments
- force
force
is a boolean. If set to %T (True), previously existing config.bak file in SCIHOME/.atoms will be erased. Default value is %F (False);
Examples
// Get original setting & save configuration v = atomsGetConfig("offline") atomsSaveConfig(%T); // Overwrite setting if v == "False" then atomsSetConfig("offline", "True"); else atomsSetConfig("offline", "False"); end // Check setting has changed atomsGetConfig("offline") // Restore config & check that setting is back to original value atomsRestoreConfig(); atomsGetConfig("offline")
See also
- atomsRestoreConfig — Restore the configuration from the backup file
- atomsSetConfig — Manage ATOMS system parameters
- atomsGetConfig — Get ATOMS system parameters
History
バージョン | 記述 |
5.4.0 | Function added |
Report an issue | ||
<< atomsRestoreConfig | Atoms | atomsSearch >> |