1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
<?xml version="1.0" encoding="UTF-8"?>
<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="iserror">
<info>
<pubdate>$LastChangedDate$</pubdate>
</info>
<refnamediv>
<refname>iserror</refname>
<refpurpose> error occurence test</refpurpose>
</refnamediv>
<refsynopsisdiv>
<title>Calling Sequence</title>
<synopsis>iserror([n])</synopsis>
</refsynopsisdiv>
<refsection>
<title>Description</title>
<para>
tests if error number <literal>n</literal> has occurred (after a call to
<literal>errcatch</literal>). <literal>iserror</literal> returns <literal>1</literal> if the error occurred a
nd <literal>0</literal> otherwise</para>
<para><literal>n>0</literal> is the error number ; all errors are tested with <literal>n<0</literal>.</para>
</refsection>
<refsection>
<title>See Also</title>
<simplelist type="inline">
<member>
<link linkend="error">error</link>
</member>
<member>
<link linkend="errcatch">errcatch</link>
</member>
</simplelist>
</refsection>
</refentry>
|