Re: List size ?

Bernadette Perrin Riou <[email protected]>
Newsgroups gmane.comp.mathematics.pari.user
Message-ID <[email protected]>
or
?  L=List([2,5,6])
%1 = List([2, 5, 6])
? #L
%2 = 3


> Le 8 févr. 2025 à 12:51, Pierre Charollois <[email protected]> a écrit :
> 
> Hello,
> 
> it is length(List);
> 
> best regards,
> 
> Pierre
> 
>> Le 8 févr. 2025 à 12:26, Bernard Fischel <[email protected]> a écrit :
>> 
>> Hi everybody. 
>> I'm searching how to get the size of a List, like matsize, without counting elements of the List. 
>> 
>> matsize(~List) fails. 
>> 
>> Bernard
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.