Recategorize some files
[scilab.git] / scilab / modules / core / help / ja_JP / 2_control_flow / end.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <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" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="end">
4     
5     <refnamediv>
6         
7         <refname>end</refname>
8         
9         <refpurpose>end キーワード</refpurpose>
10         
11     </refnamediv>
12     
13     <refsection>
14         
15         <title>説明</title>
16         
17         <para>
18             
19             ループまたは条件文の末尾で使用されます.
20             
21             <literal>for</literal>, <literal>while</literal>, <literal>if</literal>, 
22             
23             <literal>select</literal> は, <literal>end</literal> で
24             
25             終わる必要があります.
26             
27         </para>
28         
29     </refsection>
30     
31     <refsection>
32         
33         <title>例</title>
34         
35         <programlisting role="example"><![CDATA[
36 a=42
37 if a==42 then
38    disp("the answer to all questions")
39 end
40
41 i = 0
42 while i<5
43    disp("i");
44    i = i + 1;
45 end
46
47 n=5;
48 for i = 1:n
49     for j = 1:n
50         a(i,j) = 1/(i+j-1);
51     end;
52 end
53
54  ]]></programlisting>
55         
56     </refsection>
57     
58     <refsection role="see also">
59         
60         <title>参照</title>
61         
62         <simplelist type="inline">
63             
64             <member>
65                 
66                 <link linkend="for">for</link>
67                 
68             </member>
69             
70             <member>
71                 
72                 <link linkend="while">while</link>
73                 
74             </member>
75             
76             <member>
77                 
78                 <link linkend="if">if</link>
79                 
80             </member>
81             
82             <member>
83                 
84                 <link linkend="select">select</link>
85                 
86             </member>
87             
88         </simplelist>
89         
90     </refsection>
91     
92 </refentry>
93