Improve the null() example (avoid the confusion between 2 as value and index)
[scilab.git] / scilab / modules / data_structures / help / pt_BR / null.xml
index c09c2e3..e5d4b32 100644 (file)
@@ -1,33 +1,33 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
-<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" version="5.0-subset Scilab" xml:id="null" xml:lang="en">
-  <refnamediv>
-    <refname>null</refname>
-    <refpurpose>deleta um elemento em uma lista</refpurpose>
-  </refnamediv>
-  <refsynopsisdiv>
-    <title>Seqüência de Chamamento</title>
-    <synopsis>l(i)=null()</synopsis>
-  </refsynopsisdiv>
-  <refsection>
-    <title>Descrição</title>
-    <para>Deleta objetos dentro de uma lista.</para>
-  </refsection>
-  <refsection>
-    <title> Exemplos </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: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="null" xml:lang="en">
+    <refnamediv>
+        <refname>null</refname>
+        <refpurpose>deleta um elemento em uma lista</refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>Seqüência de Chamamento</title>
+        <synopsis>l(i)=null()</synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>Descrição</title>
+        <para>Deleta objetos dentro de uma lista.</para>
+    </refsection>
+    <refsection>
+        <title> Exemplos </title>
+        <programlisting role="example"><![CDATA[ 
+l=list(1,"foo",3);
 l(2)=null() // retorna list(1,3)
  ]]></programlisting>
-  </refsection>
-  <refsection>
-    <title> Ver Também </title>
-    <simplelist type="inline">
-      <member>
-        <link linkend="list">list</link>
-      </member>
-      <member>
-        <link linkend="clear">clear</link>
-      </member>
-    </simplelist>
-  </refsection>
+    </refsection>
+    <refsection>
+        <title> Ver Também </title>
+        <simplelist type="inline">
+            <member>
+                <link linkend="list">list</link>
+            </member>
+            <member>
+                <link linkend="clear">clear</link>
+            </member>
+        </simplelist>
+    </refsection>
 </refentry>