Recategorize some files
[scilab.git] / scilab / modules / core / help / pt_BR / 2_control_flow / elseif.xml
1 <?xml version="1.0" encoding="ISO-8859-1"?>
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: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="elseif" xml:lang="en">
3     <refnamediv>
4         <refname>elseif</refname>
5         <refpurpose>palavra-chave usada na estrutura "if-then-else" (significa
6             "senão, se...")
7         </refpurpose>
8     </refnamediv>
9     <refsection>
10         <title>Descrição</title>
11         <para>
12             Ver <literal>if,then,else</literal> .
13         </para>
14     </refsection>
15     <refsection>
16         <title>Example</title>
17         <programlisting role="example"><![CDATA[ 
18 a=1;
19 if a==1 then
20     disp("a equals 1")
21 elseif a==2 then
22     disp("a equals 2")
23 else
24     disp("Case not handle")
25 end
26      ]]></programlisting>
27     </refsection>
28 </refentry>