update japanese translation of core module.
[scilab.git] / scilab / modules / core / help / ja_JP / error_handling / warning.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="warning">
3     <refnamediv>
4         <refname>warning</refname>
5         <refpurpose>警告メッセージ</refpurpose>
6     </refnamediv>
7     <refsynopsisdiv>
8         <title>呼出し手順</title>
9         <synopsis>warning('string')
10             warning('off')
11             warning('on')
12             mode = warning('query')
13         </synopsis>
14     </refsynopsisdiv>
15     <refsection>
16         <title>説明</title>
17         <para>
18             警告メッセージとして文字列<literal>'string'</literal>を表示します.
19         </para>
20         <para>
21             <literal>'on'</literal> は警告メッセージを有効にします.
22         </para>
23         <para>
24             <literal>'off'</literal> は警告メッセージを無効にします.
25         </para>
26         <para>
27             <literal>'query'</literal> は, <literal>'on'</literal> または
28             <literal>'off'</literal> の状態を取得します.
29         </para>
30     </refsection>
31     <refsection>
32         <title>例</title>
33         <programlisting role="example"><![CDATA[ 
34 warning('on') 
35 warning('this is a warning')
36 warning('off')
37 warning('this is a warning')
38 warning('query')
39 warning('on')
40 // Example with a localized message
41 warning(msprintf(gettext("%s: Wrong number of input argument: %d expected.\n"),"myFunction",2));
42  ]]></programlisting>
43     </refsection>
44     <refsection role="see also">
45         <title>参照</title>
46         <simplelist type="inline">
47             <member>
48                 <link linkend="error">error</link>
49             </member>
50             <member>
51                 <link linkend="gettext">gettext</link>
52             </member>
53             <member>
54                 <link linkend="msprintf">msprintf</link>
55             </member>
56             <member>
57                 <link linkend="messagebox">messagebox</link>
58             </member>
59         </simplelist>
60     </refsection>
61 </refentry>