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 9ec8863..e5d4b32 100644 (file)
@@ -1,5 +1,5 @@
 <?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">
+<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>
@@ -15,7 +15,7 @@
     <refsection>
         <title> Exemplos </title>
         <programlisting role="example"><![CDATA[ 
-l=list(1,2,3);
+l=list(1,"foo",3);
 l(2)=null() // retorna list(1,3)
  ]]></programlisting>
     </refsection>