1
1
<?xml version="1.0" encoding="UTF-8"?>
2
2
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns3="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:id="errclear" xml:lang="en">
4
<refname>errclear</refname>
5
<refpurpose>error clearing</refpurpose>
8
<title>Calling Sequence</title>
9
<synopsis>errclear([n])</synopsis>
12
<title>Description</title>
13
<para>clears the action (error-handler) connected to error of type
17
If <literal>n</literal> is positive (n > 0), it is the number of
18
the cleared error ; otherwise if (n <= 0) all errors are cleared
23
<title>Examples</title>
24
<programlisting role="example">a = 1;
25
b = undefinedvariable + a;
27
b = undefinedvariable + a;
30
b = undefinedvariable + a;
31
errclear(5) // error 4 always as last error
33
b = undefinedvariable + a;
38
<refsection role="see also">
39
<title>See Also</title>
40
<simplelist type="inline">
42
<link linkend="errcatch">errcatch</link>
45
<link linkend="iserror">iserror</link>
48
<link linkend="lasterror">lasterror</link>
4
<refname>errclear</refname>
5
<refpurpose>error clearing</refpurpose>
8
<title>Calling Sequence</title>
9
<synopsis>errclear([n])</synopsis>
12
<title>Description</title>
13
<para>clears the action (error-handler) connected to error of type
17
If <literal>n</literal> is positive (n > 0), it is the number of
18
the cleared error ; otherwise if (n <= 0) all errors are cleared
23
<title>Examples</title>
24
<programlisting role="example">a = 1;
25
b = undefinedvariable + a;
27
b = undefinedvariable + a;
30
b = undefinedvariable + a;
31
errclear(5) // error 4 always as last error
33
b = undefinedvariable + a;
38
<refsection role="see also">
39
<title>See Also</title>
40
<simplelist type="inline">
42
<link linkend="errcatch">errcatch</link>
45
<link linkend="iserror">iserror</link>
48
<link linkend="lasterror">lasterror</link>