b8163b6f5c02996deae86afb81dcb9eaa8bd8dda
[scilab.git] / scilab / modules / core / help / ja_JP / 2_control_flow / break.xml
1 <?xml version="1.0" encoding="UTF-8"?>
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:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="break">
3     <refnamediv>
4         <refname>break</refname>
5         <refpurpose>ループ中断を表すキーワード</refpurpose>
6     </refnamediv>
7     <refsection>
8         <title>説明</title>
9         <para>
10             <literal>for</literal> または <literal>while</literal> ループの中で, コマンド <literal>break</literal> は
11             ループを強制的に終了します.
12         </para>
13     </refsection>
14     <refsection>
15         <title>例</title>
16         <programlisting role="example"><![CDATA[ 
17 k=0; 
18 while 1==1, 
19           k=k+1;
20           if k &gt; 100 then  
21              break
22           end; 
23 end
24  ]]></programlisting>
25     </refsection>
26     <refsection role="see also">
27         <title>参照</title>
28         <simplelist type="inline">
29             <member>
30                 <link linkend="while">while</link>
31             </member>
32             <member>
33                 <link linkend="if">if</link>
34             </member>
35             <member>
36                 <link linkend="for">for</link>
37             </member>
38             <member>
39                 <link linkend="abort">abort</link>
40             </member>
41             <member>
42                 <link linkend="return">return</link>
43             </member>
44         </simplelist>
45     </refsection>
46 </refentry>