* Bug 16292 fixed: hallchart() debugged & improved
[scilab.git] / scilab / modules / string / help / en_US / eval.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4  * Copyright (C) 2008 - INRIA
5  *
6  * Copyright (C) 2012 - 2016 - Scilab Enterprises
7  *
8  * This file is hereby licensed under the terms of the GNU GPL v2.0,
9  * pursuant to article 5.3.4 of the CeCILL v.2.1.
10  * This file was originally licensed under the terms of the CeCILL v2.1,
11  * and continues to be available under such terms.
12  * For more information, see the COPYING file which you should have received
13  * along with this program.
14  *
15  -->
16 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"
17           xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml"
18           xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook"
19           xmlns:scilab="http://www.scilab.org" xml:id="eval" xml:lang="en">
20     <refnamediv>
21         <refname>eval</refname>
22         <refpurpose>
23           evaluation of a matrix of strings  <emphasis role="bold">(obsolete)</emphasis>
24       </refpurpose>
25     </refnamediv>
26     <refsynopsisdiv>
27         <title>Syntax</title>
28         <synopsis>[H] = eval(Z)</synopsis>
29     </refsynopsisdiv>
30     <refsection>
31         <title>Arguments</title>
32         <variablelist>
33             <varlistentry>
34                 <term>Z</term>
35                 <listitem>
36                     <para>a matrix of character string.</para>
37                 </listitem>
38             </varlistentry>
39         </variablelist>
40     </refsection>
41     <refsection>
42         <title>Description</title>
43         <para>
44             The <function>eval</function> function returns the evaluation of the matrix of character strings
45             <varname>Z</varname>.
46         </para>
47     </refsection>
48     <refsection>
49         <title>Examples</title>
50         <programlisting role="example"><![CDATA[
51 a=1;
52 b=2;
53 Z=['a','sin(b)'];
54 eval(Z)  //returns the matrix [1, 0.909];
55  ]]></programlisting>
56     </refsection>
57     <refsection role="see also">
58         <title>See also</title>
59         <simplelist type="inline">
60             <member>
61                 <link linkend="evstr">evstr</link>
62             </member>
63             <member>
64                 <link linkend="execstr">execstr</link>
65             </member>
66         </simplelist>
67     </refsection>
68     <refsection role="history">
69         <title>History</title>
70         <revhistory>
71             <revision>
72                 <revnumber>6.0.1</revnumber>
73                 <revdescription>
74                   <literal>eval()</literal> is declared obsolete, to be removed from Scilab 6.1.0.
75                   Please use <literal>evstr()</literal> instead.
76                 </revdescription>
77             </revision>
78         </revhistory>
79     </refsection>
80 </refentry>