translation updated for string.
[scilab.git] / scilab / modules / string / help / ja_JP / strcmp.xml
index e784973..c5a869e 100644 (file)
@@ -1,4 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
+
 <!--
  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
  * Copyright (C) INRIA - 
  * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
  *
  -->
+
 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns4="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="strcmp" xml:lang="ja">
+    
     <refnamediv>
+        
         <refname>strcmp</refname>
+        
         <refpurpose>文字列を比較</refpurpose>
+        
     </refnamediv>
+    
     <refsynopsisdiv>
+        
         <title>呼び出し手順</title>
-        <synopsis>res = strcmp(string_one,string_two,[,'i'])</synopsis>
+        
+        <synopsis>res = strcmp(string_one, string_two, [,'i'])</synopsis>
+        
     </refsynopsisdiv>
+    
     <refsection>
-        <title>パラメータ</title>
+        
+        <title>引数</title>
+        
         <variablelist>
+            
             <varlistentry>
+                
                 <term>string_one</term>
+                
                 <listitem>
+                    
                     <para>文字列または文字列の行列</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>string_two</term>
+                
                 <listitem>
+                    
                     <para>文字列または文字列の行列</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>'i'</term>
+                
                 <listitem>
-                    <para>stricmp (大文字小文字に依存)を使用するためのパラメータ, デフォルト値は
-                        's'
+                    
+                    <para>
+                        
+                        <function>strcmpi</function>
+                        
+                        (大文字小文字に依存)を使用するためのパラメータ, デフォルト値は
+                        
+                        <literal>'s'</literal>.
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>res</term>
+                
                 <listitem>
-                    <para>行列.</para>
+                    
+                    <para>整数の行列.</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
+        
     </refsection>
+    
     <refsection>
+        
         <title>説明</title>
+        
         <para>
-            <literal>res = strcmp(string_one,string_two)</literal> は
-            文字列の間の関係を示す整数値を返します.
+            
+            <code>res = strcmp(string_one, string_two)</code>
+            
+            (または<code>res = strcmp(string_one, string_two, 's')</code>)は,
+            
+            文字列の間の関係(辞書順)を示す整数値を返します.
+            
         </para>
-        <para>ゼロより大きい値は,一致しない最初の文字について,
-            <literal>string_one</literal>の方が
-            <literal>string_two</literal>よりも大きな値を有している
+        
+        <para>
+            
+            ゼロより大きい値は,一致しない最初の文字について,
+            
+            <varname>string_one</varname>の方が
+            
+            <varname>string_two</varname>よりも大きな値を有している
+            
             ことを示します.
+            
+        </para>
+        
+        <para>
+            
+            <code>res = strcmp(string_one, string_two, 'i')</code>は,
+            
+            <varname>string_one</varname> が
+            
+            <varname>string_two</varname> (大文字小文字を区別しません) 
+            
+            に等しい場合に<literal>0</literal>を返し,
+            
+            <literal>1</literal>はその逆を示します.
+            
         </para>
-        <para>ゼロよりも小さな値はその逆であることを示します.</para>
+        
     </refsection>
+    
     <refsection>
+        
         <title>例</title>
+        
         <programlisting role="example"><![CDATA[ 
 TXT1 = ['scilab','SciLab';'Strcmp','STRcmp'];
 TXT2 = ['ScIlAb','sciLab';'sTrCmP','StrCMP'];
@@ -73,16 +150,30 @@ strcmp(TXT1,'scilab')
 strcmp(TXT1,'SciLab')
 strcmp(TXT1,TXT2,'i')
  ]]></programlisting>
+        
     </refsection>
+    
     <refsection role="see also">
+        
         <title>参照</title>
+        
         <simplelist type="inline">
+            
             <member>
+                
                 <link linkend="strcat">strcat</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="strcmpi">strcmpi</link>
+                
             </member>
+            
         </simplelist>
+        
     </refsection>
+    
 </refentry>
+