Merge remote-tracking branch 'origin/6.1'
[scilab.git] / scilab / modules / core / help / pt_BR / 2_control_flow / else.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" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns3="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="else" xml:lang="pt">
17     <refnamediv>
18         <refname>else</refname>
19         <refpurpose>palavra-chave usada na estrutura "if-then-else" (significa
20             "senão...")
21         </refpurpose>
22     </refnamediv>
23     <refsection>
24         <title>Descrição</title>
25         <para>
26             Usado com <literal>if</literal>.
27         </para>
28     </refsection>
29     <refsection>
30         <title>Example</title>
31         <programlisting role="example"><![CDATA[
32 val = %t
33
34 if val==%t then
35     disp("true");
36 else
37     disp("false");
38 end
39      ]]></programlisting>
40     </refsection>
41     <refsection>
42         <title> Ver Também </title>
43         <simplelist type="inline">
44             <member>
45                 <link linkend="elseif">elseif</link>
46             </member>
47             <member>
48                 <link linkend="if">if</link>
49             </member>
50             <member>
51                 <link linkend="and_op">&amp;, &amp;&amp;</link>
52             </member>
53             <member>
54                 <link linkend="or_op">|, ||</link>
55             </member>
56         </simplelist>
57     </refsection>
58     <refsection role="history">
59         <title>Histórico</title>
60         <revhistory>
61             <revision>
62                 <revnumber>6.0.0</revnumber>
63                 <revdescription>
64                   <literal>else</literal> is now protected:
65                   Assignments like <literal>else=1</literal> are no longer possible.
66                 </revdescription>
67             </revision>
68         </revhistory>
69     </refsection>
70 </refentry>