13
13
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:lang="en" xml:id="atomsRestoreConfig">
15
<refname>atomsRestoreConfig</refname>
16
<refpurpose>Restore the configuration from the backup file</refpurpose>
18
<!-- ===================================================================== -->
19
<!-- Calling Sequence -->
20
<!-- ===================================================================== -->
22
<title>Calling Sequence</title>
27
<!-- ===================================================================== -->
29
<!-- ===================================================================== -->
31
<title>Description</title>
33
<literal>atomsRestoreConfig</literal> checks that a config.bak file exists, and set it as the main confiuration file. The backup file is deleted in the process.
36
<!-- ===================================================================== -->
38
<!-- ===================================================================== -->
40
<title>Examples</title>
41
<programlisting role="example"><![CDATA[
15
<refname>atomsRestoreConfig</refname>
16
<refpurpose>Restore the configuration from the backup file</refpurpose>
18
<!-- ===================================================================== -->
19
<!-- Calling Sequence -->
20
<!-- ===================================================================== -->
22
<title>Calling Sequence</title>
27
<!-- ===================================================================== -->
29
<!-- ===================================================================== -->
31
<title>Description</title>
33
<literal>atomsRestoreConfig</literal> checks that a config.bak file exists, and set it as the main confiuration file. The backup file is deleted in the process.
36
<!-- ===================================================================== -->
38
<!-- ===================================================================== -->
40
<title>Examples</title>
41
<programlisting role="example"><![CDATA[
42
42
atomsSaveConfig(%T);
43
43
deletefile(atomsPath("system","user")+"config");
44
44
atomsRestoreConfig();
45
45
]]></programlisting>
47
<!-- ===================================================================== -->
49
<!-- ===================================================================== -->
50
<refsection role="see also">
51
<title>See Also</title>
52
<simplelist type="inline">
54
<link linkend="atomsSaveConfig">atomsSaveConfig</link>
57
<link linkend="atomsSetConfig">atomsSetConfig</link>
60
<link linkend="atomsGetConfig">atomsGetConfig</link>
64
<!-- ===================================================================== -->
66
<!-- ===================================================================== -->
68
<title>History</title>
71
<revnumber>5.4.0</revnumber>
72
<revdescription>Function added</revdescription>
47
<!-- ===================================================================== -->
49
<!-- ===================================================================== -->
50
<refsection role="see also">
51
<title>See Also</title>
52
<simplelist type="inline">
54
<link linkend="atomsSaveConfig">atomsSaveConfig</link>
57
<link linkend="atomsSetConfig">atomsSetConfig</link>
60
<link linkend="atomsGetConfig">atomsGetConfig</link>
64
<!-- ===================================================================== -->
66
<!-- ===================================================================== -->
68
<title>History</title>
71
<revnumber>5.4.0</revnumber>
72
<revdescription>Function added</revdescription>