1 <?xml version="1.0" encoding="UTF-8"?>
3 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4 * Copyright (C) 2008 - INRIA
6 * Copyright (C) 2012 - 2016 - Scilab Enterprises
8 * This file is hereby licensed under the terms of the GNU GPL v2.0,
9 * pursuant to article 5.3.4 of the CeCILL v.2.1.
10 * This file was originally licensed under the terms of the CeCILL v2.1,
11 * and continues to be available under such terms.
12 * For more information, see the COPYING file which you should have received
13 * along with this program.
16 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"
17 xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns3="http://www.w3.org/1999/xhtml"
18 xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook"
19 xmlns:scilab="http://www.scilab.org" xml:id="lstsize" xml:lang="pt">
21 <refname>lstsize</refname>
22 <refpurpose>números de entradas de uma lista, tlist ou mlist <emphasis role="bold">(obsolete)</emphasis>
26 <title>Seqüência de Chamamento</title>
27 <synopsis>n=lstsize(x)</synopsis>
30 <title>Parâmetros</title>
35 <para>uma lista, tlist ou mlist </para>
41 <para>um inteiro, número de entradas</para>
47 <title>Descrição</title>
49 <literal>lstsize(x)</literal> retorna o número de entradas de uma
50 lista, tlist ou mlist. Esta função é mais eficiente que a função
51 <literal>size</literal> e opera de modo semelhante para todos os tipos de
52 listas, enquanto a função <literal>size</literal> fica sobrecarregada para
53 <literal>mlist</literal>'s.
57 <title>Exemplos</title>
58 <programlisting role="example"><![CDATA[
59 lstsize(list(1,'aqsdf'))
65 <refsection role="see also">
66 <title>Ver Também</title>
67 <simplelist type="inline">
69 <link linkend="length">length</link>
72 <link linkend="size">size</link>
75 <link linkend="list">list</link>
78 <link linkend="tlist">tlist</link>
81 <link linkend="mlist">mlist</link>
85 <refsection role="history">
86 <title>Histórico</title>
89 <revnumber>6.0.1</revnumber>
91 <literal>lstsize()</literal> is declared obsolete, to be removed from Scilab 6.1.
92 Please use <literal>size()</literal> instead.