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:mml="http://www.w3.org/1998/Math/MathML" xmlns:html="http://www.w3.org/1999/xhtml" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:id="CheckLhs" xml:lang="en">
4
<refname>CheckLhs (deprecated)</refname>
6
C macro which checks the number of output arguments present in
7
the calling Scilab function.
11
<title>Calling Sequence</title>
12
<synopsis>CheckLhs(nb_min_params,nb_max_params)</synopsis>
15
<title>Arguments</title>
18
<term>nb_min_params</term>
21
the minimum number of output arguments which must be present
22
in the calling Scilab function
27
<term>nb_max_params</term>
30
the maximum number of output arguments which must be present
31
in the calling Scilab function
38
<title>Description</title>
40
C macro which checks the number of output arguments present in the
41
calling Scilab function. You must include stack-c.h to benefit from this
45
If the number of arguments is not between nb_min_params and
46
nb_max_params, we quit the C interface (<literal>return 0;</literal>) and
47
an error is returned in the Scilab console.
50
Since <literal>CheckLhs</literal> is doing a <literal>
54
within the gateway function, it is important to call this
55
macro before any memory allocation in order to avoid any memory
59
WARNING: This API is deprecated from Scilab 5.2.0 and is going to be removed with Scilab 6.0. Please use <link linkend="api_scilab">API Scilab</link> (the new Scilab API).
60
This function has been replaced by <link linkend="CheckOutputArgument">CheckOutputArgument</link>.
63
<refsection role="see also">
64
<title>See Also</title>
65
<simplelist type="inline">
67
<link linkend="CheckOutputArgument">CheckOutputArgument</link>
4
<refname>CheckLhs (deprecated)</refname>
6
C macro which checks the number of output arguments present in
7
the calling Scilab function.
8
<emphasis role="bold">This function is obsolete.</emphasis>
12
<title>Calling Sequence</title>
13
<synopsis>CheckLhs(nb_min_params,nb_max_params)</synopsis>
16
<title>Arguments</title>
19
<term>nb_min_params</term>
22
the minimum number of output arguments which must be present
23
in the calling Scilab function
28
<term>nb_max_params</term>
31
the maximum number of output arguments which must be present
32
in the calling Scilab function
39
<title>Description</title>
41
C macro which checks the number of output arguments present in the
42
calling Scilab function. You must include stack-c.h to benefit from this
46
If the number of arguments is not between nb_min_params and
47
nb_max_params, we quit the C interface (<literal>return 0;</literal>) and
48
an error is returned in the Scilab console.
51
Since <literal>CheckLhs</literal> is doing a <literal>
55
within the gateway function, it is important to call this
56
macro before any memory allocation in order to avoid any memory
60
WARNING: This API is deprecated from Scilab 5.2.0 and is going to be removed with Scilab 6.0. Please use <link linkend="api_scilab">API Scilab</link> (the new Scilab API).
61
This function has been replaced by <link linkend="CheckOutputArgument">CheckOutputArgument</link>.
64
<refsection role="see also">
65
<title>See Also</title>
66
<simplelist type="inline">
68
<link linkend="CheckOutputArgument">CheckOutputArgument</link>