Improve the null() example (avoid the confusion between 2 as value and index)
[scilab.git] / scilab / modules / data_structures / help / ja_JP / null.xml
index 6a353e3..8cdbf62 100644 (file)
@@ -1,35 +1,35 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<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" version="5.0-subset Scilab" xml:lang="ja" xml:id="null">
-  <refnamediv>
-    <refname>null</refname>
-    <refpurpose> リストの要素を削除する</refpurpose>
-  </refnamediv>
-  <refsynopsisdiv>
-    <title>呼出し手順</title>
-    <synopsis>l(i)=null()</synopsis>
-  </refsynopsisdiv>
-  <refsection>
-    <title>説明</title>
-    <para>
-      リスト内のオブジェクトを削除します.
-    </para>
-  </refsection>
-  <refsection>
-    <title>例</title>
-    <programlisting role="example"><![CDATA[ 
-l=list(1,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="null">
+    <refnamediv>
+        <refname>null</refname>
+        <refpurpose>リストの要素を削除する</refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>呼出し手順</title>
+        <synopsis>l(i)=null()</synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>説明</title>
+        <para>
+            リスト内のオブジェクトを削除します.
+        </para>
+    </refsection>
+    <refsection>
+        <title>例</title>
+        <programlisting role="example"><![CDATA[ 
+l=list(1,"foo",3);
 l(2)=null() // list(1,3)となる
  ]]></programlisting>
-  </refsection>
-  <refsection role="see also">
-    <title>参照</title>
-    <simplelist type="inline">
-      <member>
-        <link linkend="list">list</link>
-      </member>
-      <member>
-        <link linkend="clear">clear</link>
-      </member>
-    </simplelist>
-  </refsection>
+    </refsection>
+    <refsection role="see also">
+        <title>参照</title>
+        <simplelist type="inline">
+            <member>
+                <link linkend="list">list</link>
+            </member>
+            <member>
+                <link linkend="clear">clear</link>
+            </member>
+        </simplelist>
+    </refsection>
 </refentry>