1
<?xml version="1.0" encoding="UTF-8"?>
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: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="clearfun">
4
<refname>clearfun</refname>
5
<refpurpose>removes primitive </refpurpose>
8
<title>Calling Sequence</title>
9
<synopsis>ret=clearfun('name')</synopsis>
12
<title>Arguments</title>
17
<para>name of primitive</para>
23
<para>a boolean</para>
29
<title>Arguments</title>
34
<para>name of primitive</para>
40
<para>a boolean</para>
46
<title>Description</title>
48
<literal>clearfun('name')</literal> removes the primitive <literal>'name'</literal> from the
49
set of primitives (built-in functions). <literal>clearfun</literal> returns
50
<literal>%t</literal> or <literal>%f</literal>.
51
This function allows to rename a primitive : a Scilab primitive can be replaced by a
52
user-defined function. For experts...
55
<refsection role="see also">
56
<title>See Also</title>
57
<simplelist type="inline">
59
<link linkend="newfun">newfun</link>
62
<link linkend="funptr">funptr</link>