<?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" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="clearfun">
    <refnamediv>
        <refname>clearfun</refname>
        <refpurpose>removes primitive  </refpurpose>
    </refnamediv>
    <refsynopsisdiv>
        <title>Syntax</title>
        <synopsis>ret=clearfun('name')</synopsis>
    </refsynopsisdiv>
    <refsection>
        <title>Arguments</title>
        <variablelist>
            <varlistentry>
                <term>'name'</term>
                <listitem>
                    <para>name of primitive</para>
                </listitem>
            </varlistentry>
            <varlistentry>
                <term>ret</term>
                <listitem>
                    <para>a boolean</para>
                </listitem>
            </varlistentry>
        </variablelist>
    </refsection>
    <refsection>
        <title>Arguments</title>
        <variablelist>
            <varlistentry>
                <term>'name'</term>
                <listitem>
                    <para>name of primitive</para>
                </listitem>
            </varlistentry>
            <varlistentry>
                <term>ret</term>
                <listitem>
                    <para>a boolean</para>
                </listitem>
            </varlistentry>
        </variablelist>
    </refsection>
    <refsection>
        <title>Description</title>
        <para>
            <literal>clearfun('name')</literal> removes the primitive <literal>'name'</literal> from the
            set of primitives (built-in functions). <literal>clearfun</literal> returns
            <literal>%t</literal> or <literal>%f</literal>.
            This function allows to rename a primitive : a Scilab primitive can be replaced by a
            user-defined function. For experts...
        </para>
    </refsection>
    <refsection role="see also">
        <title>See also</title>
        <simplelist type="inline">
            <member>
                <link linkend="newfun">newfun</link>
            </member>
            <member>
                <link linkend="funptr">funptr</link>
            </member>
        </simplelist>
    </refsection>
</refentry>
